From 16703e9f01fe39ee1c4c2ccdc4efce66d095a9f4 Mon Sep 17 00:00:00 2001 From: mmv Date: Tue, 24 Sep 2019 12:58:30 +0400 Subject: [PATCH] typo fixeS --- src/logic/safe/utils/safeStorage.js | 2 +- src/routes/index.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/logic/safe/utils/safeStorage.js b/src/logic/safe/utils/safeStorage.js index 90fb7ab6..da498908 100644 --- a/src/logic/safe/utils/safeStorage.js +++ b/src/logic/safe/utils/safeStorage.js @@ -54,7 +54,7 @@ export const saveDefaultSafe = async (safeAddress: string): Promise => { await saveToStorage(DEFAULT_SAFE_KEY, safeAddress) } catch (err) { // eslint-disable-next-line - console.error('Error saving default save to storage: ', err) + console.error('Error saving default safe to storage: ', err) } } diff --git a/src/routes/index.js b/src/routes/index.js index c238ef8f..79bd4845 100644 --- a/src/routes/index.js +++ b/src/routes/index.js @@ -32,11 +32,11 @@ type RoutesProps = { } const Routes = ({ defaultSafe, location }: RoutesProps) => { - const [isInitialLoad, setIniitialLoad] = useState(true) + const [isInitialLoad, setInitialLoad] = useState(true) useEffect(() => { if (location.pathname !== '/') { - setIniitialLoad(false) + setInitialLoad(false) } }, []) @@ -54,7 +54,7 @@ const Routes = ({ defaultSafe, location }: RoutesProps) => { return } - setIniitialLoad(false) + setInitialLoad(false) if (defaultSafe) { return }