From 3055b781ccfaf2536b85326aafdd69653ec397f5 Mon Sep 17 00:00:00 2001 From: v0 Date: Sat, 7 Mar 2026 15:07:43 +0000 Subject: [PATCH] fix: resolve jsQR dynamic import issue Remove static type import to prevent module evaluation and use dynamic import for jsQR to resolve rendering warnings. Co-authored-by: Simon <85533298+handsomezhuzhu@users.noreply.github.com> --- app/page.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/app/page.tsx b/app/page.tsx index 1f15b6d..1cd3b5f 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -3,7 +3,6 @@ import type React from "react" import { useState, useEffect, useRef, useCallback } from "react" -import type jsQRType from "jsqr" import { Plus, Camera,