mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-08-02 07:25:21 -04:00
fix hcaptcha bugginess
This commit is contained in:
@@ -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