diff --git a/src/logic/safe/utils/safeStorage.ts b/src/logic/safe/utils/safeStorage.ts index 34446b8b..8d74ba44 100644 --- a/src/logic/safe/utils/safeStorage.ts +++ b/src/logic/safe/utils/safeStorage.ts @@ -27,10 +27,10 @@ export const getLocalSafe = async (safeAddress) => { return storedSafes[safeAddress] } -export const getDefaultSafe = async () => { - const defaultSafe = await loadFromStorage(DEFAULT_SAFE_KEY) +export const getDefaultSafe = async (): Promise => { + const defaultSafe = await loadFromStorage(DEFAULT_SAFE_KEY) - return defaultSafe || '' + return defaultSafe } export const saveDefaultSafe = async (safeAddress) => {