Client: Removed unsetting lasterror

This commit is contained in:
Donkie
2023-08-03 22:27:20 +02:00
parent edd75e86be
commit b95443228c

View File

@@ -20,12 +20,6 @@ const QRCodeScannerModal: React.FC = () => {
}
};
useEffect(() => {
if (visible) {
setLastError(null);
}
}, [visible]);
return (
<>
<FloatButton