Codestyle fixes

This commit is contained in:
Germán Martínez 2019-05-20 17:51:38 +02:00
parent 6634286030
commit ef9f6ae575
3 changed files with 7 additions and 9 deletions

View File

@ -14,7 +14,7 @@ import Link from '~/components/layout/Link'
import Paragraph from '~/components/layout/Paragraph'
import Hairline from '~/components/layout/Hairline'
import {
xs, sm, md, lg, border, secondary,
sm, md, lg, border, secondary,
} from '~/theme/variables'
import { getOwnerNameBy, getOwnerAddressBy } from '~/routes/open/components/fields'
import { getEtherScanLink, getWeb3 } from '~/logic/wallets/getWeb3'

View File

@ -12,16 +12,14 @@ import Link from '~/components/layout/Link'
import Paragraph from '~/components/layout/Paragraph'
import Hairline from '~/components/layout/Hairline'
import {
xs, sm, md, lg, border, secondary,
xs, sm, lg, border, secondary,
} from '~/theme/variables'
import { shortVersionOf, sameAddress } from '~/logic/wallets/ethAddresses'
import { getNamesFrom, getAccountsFrom } from '~/routes/open/utils/safeDataExtractor'
import { shortVersionOf } from '~/logic/wallets/ethAddresses'
import { getAccountsFrom } from '~/routes/open/utils/safeDataExtractor'
import { getOwnerNameBy, getOwnerAddressBy, getNumOwnersFrom } from '~/routes/open/components/fields'
import { getEtherScanLink, getWeb3 } from '~/logic/wallets/getWeb3'
import { getEtherScanLink } from '~/logic/wallets/getWeb3'
import { FIELD_LOAD_NAME, FIELD_LOAD_ADDRESS, THRESHOLD } from '~/routes/load/components/fields'
import { getGnosisSafeContract } from '~/logic/contracts/safeContracts'
const openIconStyle = {
height: '16px',
color: secondary,

View File

@ -19,10 +19,10 @@ export const getNamesFrom = (values: Object): string[] => {
export const getOwnersFrom = (
names: string[],
addresses: string[]
addresses: string[],
): Array<string, string> => {
const owners = names.map((name: string, index: number) => makeOwner(
{ name, address: addresses[index] }
{ name, address: addresses[index] },
))
return owners