mirror of
https://github.com/Donkie/Spoolman.git
synced 2026-10-21 17:42:16 -05:00
Client: Removed unsetting lasterror
This commit is contained in:
1 parent
edd75e86be
commit
b95443228c
1 file changed
-6
@@ -20,12 +20,6 @@ const QRCodeScannerModal: React.FC = () => {
|
||||
}
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (visible) {
|
||||
setLastError(null);
|
||||
}
|
||||
}, [visible]);
|
||||
|
||||
return (
|
||||
<>
|
||||
<FloatButton
|
||||
|
||||
Reference in new issue
Block a user