remove unused vars, add comment for generateProps func

This commit is contained in:
mmv 2019-04-15 16:44:17 +04:00
parent d7127fb968
commit 81e05c132d
2 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,8 @@ import { safeTokensSelector } from '~/routes/safe/store/selectors/index'
import { SAFE_PARAM_ADDRESS } from '~/routes/routes'
import updateSafe from './updateSafe'
// the selector uses ownProps argument/router props to get the address of the safe
// so in order to use it I had to recreate the same structure
const generateMatchProps = (safeAddress: string) => ({
match: {
params: {

View File

@ -1,10 +1,9 @@
// @flow
import { Map, List } from 'immutable'
import { Map } from 'immutable'
import { handleActions, type ActionType } from 'redux-actions'
import { ADD_SAFE, buildOwnersFrom } from '~/routes/safe/store/actions/addSafe'
import SafeRecord, { type Safe, type SafeProps } from '~/routes/safe/store/models/safe'
import { type OwnerProps } from '~/routes/safe/store/models/owner'
import type { SafeToken } from '~/routes/safe/store/models/safeToken'
import { loadFromStorage } from '~/utils/storage'
import { SAFES_KEY } from '~/logic/safe/utils'
import { UPDATE_SAFE } from '~/routes/safe/store/actions/updateSafe'