Skip to content

Commit

Permalink
Merge pull request #384 from aura-nw/serenity
Browse files Browse the repository at this point in the history
Serenity
  • Loading branch information
hoangndm3139 authored Apr 1, 2024
2 parents c181806 + f1826a9 commit 8258d90
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 8258d90

Please sign in to comment.