Add missing dependency (#2157)

This commit is contained in:
nicolas 2021-04-12 11:50:59 -03:00 committed by GitHub
parent ba12ac69e9
commit a139da394f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -28,10 +28,10 @@ export const useLoadSafe = (safeAddress?: string, loadedViaUrl = true): boolean
}
}
}
dispatch(loadAddressBookFromStorage())
dispatch(loadAddressBookFromStorage())
fetchData()
}, [dispatch, safeAddress])
}, [dispatch, safeAddress, loadedViaUrl])
return isSafeLoaded
}