Add missing dependency (#2157)
This commit is contained in:
parent
ba12ac69e9
commit
a139da394f
|
@ -28,10 +28,10 @@ export const useLoadSafe = (safeAddress?: string, loadedViaUrl = true): boolean
|
|||
}
|
||||
}
|
||||
}
|
||||
dispatch(loadAddressBookFromStorage())
|
||||
|
||||
dispatch(loadAddressBookFromStorage())
|
||||
fetchData()
|
||||
}, [dispatch, safeAddress])
|
||||
}, [dispatch, safeAddress, loadedViaUrl])
|
||||
|
||||
return isSafeLoaded
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue