Client: Removed unsetting lasterror

This commit is contained in:
Donkie committed 2023-08-03 22:27:20 +02:00
1 parent edd75e86be
commit b95443228c
1 file changed
-6
-6
View File
@@ -20,12 +20,6 @@ const QRCodeScannerModal: React.FC = () => {
}
};
useEffect(() => {
if (visible) {
setLastError(null);
}
}, [visible]);
return (
<>
<FloatButton