Codestyle fixes
This commit is contained in:
parent
6634286030
commit
ef9f6ae575
|
@ -14,7 +14,7 @@ import Link from '~/components/layout/Link'
|
||||||
import Paragraph from '~/components/layout/Paragraph'
|
import Paragraph from '~/components/layout/Paragraph'
|
||||||
import Hairline from '~/components/layout/Hairline'
|
import Hairline from '~/components/layout/Hairline'
|
||||||
import {
|
import {
|
||||||
xs, sm, md, lg, border, secondary,
|
sm, md, lg, border, secondary,
|
||||||
} from '~/theme/variables'
|
} from '~/theme/variables'
|
||||||
import { getOwnerNameBy, getOwnerAddressBy } from '~/routes/open/components/fields'
|
import { getOwnerNameBy, getOwnerAddressBy } from '~/routes/open/components/fields'
|
||||||
import { getEtherScanLink, getWeb3 } from '~/logic/wallets/getWeb3'
|
import { getEtherScanLink, getWeb3 } from '~/logic/wallets/getWeb3'
|
||||||
|
|
|
@ -12,16 +12,14 @@ import Link from '~/components/layout/Link'
|
||||||
import Paragraph from '~/components/layout/Paragraph'
|
import Paragraph from '~/components/layout/Paragraph'
|
||||||
import Hairline from '~/components/layout/Hairline'
|
import Hairline from '~/components/layout/Hairline'
|
||||||
import {
|
import {
|
||||||
xs, sm, md, lg, border, secondary,
|
xs, sm, lg, border, secondary,
|
||||||
} from '~/theme/variables'
|
} from '~/theme/variables'
|
||||||
import { shortVersionOf, sameAddress } from '~/logic/wallets/ethAddresses'
|
import { shortVersionOf } from '~/logic/wallets/ethAddresses'
|
||||||
import { getNamesFrom, getAccountsFrom } from '~/routes/open/utils/safeDataExtractor'
|
import { getAccountsFrom } from '~/routes/open/utils/safeDataExtractor'
|
||||||
import { getOwnerNameBy, getOwnerAddressBy, getNumOwnersFrom } from '~/routes/open/components/fields'
|
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 { FIELD_LOAD_NAME, FIELD_LOAD_ADDRESS, THRESHOLD } from '~/routes/load/components/fields'
|
||||||
|
|
||||||
import { getGnosisSafeContract } from '~/logic/contracts/safeContracts'
|
|
||||||
|
|
||||||
const openIconStyle = {
|
const openIconStyle = {
|
||||||
height: '16px',
|
height: '16px',
|
||||||
color: secondary,
|
color: secondary,
|
||||||
|
|
|
@ -19,10 +19,10 @@ export const getNamesFrom = (values: Object): string[] => {
|
||||||
|
|
||||||
export const getOwnersFrom = (
|
export const getOwnersFrom = (
|
||||||
names: string[],
|
names: string[],
|
||||||
addresses: string[]
|
addresses: string[],
|
||||||
): Array<string, string> => {
|
): Array<string, string> => {
|
||||||
const owners = names.map((name: string, index: number) => makeOwner(
|
const owners = names.map((name: string, index: number) => makeOwner(
|
||||||
{ name, address: addresses[index] }
|
{ name, address: addresses[index] },
|
||||||
))
|
))
|
||||||
|
|
||||||
return owners
|
return owners
|
||||||
|
|
Loading…
Reference in New Issue