mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-11-07 22:26:12 -05:00
fix hcaptcha bugginess
This commit is contained in:
6 files changed
+43
-41
No files matched your search
@@ -6,7 +6,7 @@ export const useLocalStorage = (key: string, allowNull = false) => {
|
||||
let currentValue: any;
|
||||
try {
|
||||
currentValue = window.localStorage.getItem(key);
|
||||
} catch (e) {} // eslint-disable-line no-empty
|
||||
} catch (error) {} // eslint-disable-line no-empty
|
||||
|
||||
return currentValue;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user