diff --git a/client/src/components/qrCodeScanner.tsx b/client/src/components/qrCodeScanner.tsx index 32d8a3a..0b4bf87 100644 --- a/client/src/components/qrCodeScanner.tsx +++ b/client/src/components/qrCodeScanner.tsx @@ -20,12 +20,6 @@ const QRCodeScannerModal: React.FC = () => { } }; - useEffect(() => { - if (visible) { - setLastError(null); - } - }, [visible]); - return ( <>