fix hcaptcha bugginess

This commit is contained in:
2022-04-17 14:52:59 -04:00
parent fa968dbcd2
commit a632246975
6 changed files with 43 additions and 41 deletions
+1 -1
View File
@@ -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;
});