From f75d022147a43ac8531936741d48351840c776e5 Mon Sep 17 00:00:00 2001 From: apanizo Date: Fri, 26 Oct 2018 15:08:30 +0200 Subject: [PATCH] #73 safeUrl selector based on router props --- src/routes/safe/container/selector.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/routes/safe/container/selector.js b/src/routes/safe/container/selector.js index 45e9d3af..7106ec3a 100644 --- a/src/routes/safe/container/selector.js +++ b/src/routes/safe/container/selector.js @@ -9,6 +9,7 @@ import { type GlobalState } from '~/store' import { sameAddress } from '~/logic/wallets/ethAddresses' import { activeTokensSelector } from '~/routes/tokens/store/selectors' import { type Token } from '~/routes/tokens/store/model/token' +import { safeParamAddressSelector } from '../store/selectors' export type SelectorProps = { safe: SafeSelectorProps, @@ -16,6 +17,7 @@ export type SelectorProps = { activeTokens: List, userAddress: string, network: string, + safeUrl: string, } export const grantedSelector: Selector = createSelector( @@ -46,4 +48,5 @@ export default createStructuredSelector({ granted: grantedSelector, userAddress: userAccountSelector, network: networkSelector, + safeUrl: safeParamAddressSelector, })