Skip to content

Commit

Permalink
fix reload safe
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangndm3139 committed Apr 1, 2024
1 parent 73c03e7 commit 06725e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/logic/safe/store/selectors/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ export const safesAsMap = (state: AppReduxState): SafesMap => safesState(state).

export const safesAsList = createSelector(safesAsMap, (safes): List<SafeRecord> => safes.toList())

export const currentSafe = createSelector([safesAsMap], (safes: SafesMap) => {
const address = extractSafeAddress()
export const currentSafe = createSelector([safesAsMap, extractSafeAddress], (safes: SafesMap, address: string) => {
return safes.get(address, baseSafe(address))
})
export const safeByAddressSelector = createSelector(
Expand Down

0 comments on commit 06725e4

Please sign in to comment.