fix default safe return
This commit is contained in:
parent
c925449db2
commit
01358de643
|
@ -27,10 +27,10 @@ export const getLocalSafe = async (safeAddress) => {
|
|||
return storedSafes[safeAddress]
|
||||
}
|
||||
|
||||
export const getDefaultSafe = async (): Promise<string | undefined> => {
|
||||
export const getDefaultSafe = async (): Promise<string> => {
|
||||
const defaultSafe = await loadFromStorage<string>(DEFAULT_SAFE_KEY)
|
||||
|
||||
return defaultSafe
|
||||
return defaultSafe || ''
|
||||
}
|
||||
|
||||
export const saveDefaultSafe = async (safeAddress) => {
|
||||
|
|
Loading…
Reference in New Issue