diff --git a/src/routes/tokens/component/Layout.jsx b/src/routes/tokens/component/Layout.jsx index 36016f13..42ad5cda 100644 --- a/src/routes/tokens/component/Layout.jsx +++ b/src/routes/tokens/component/Layout.jsx @@ -4,6 +4,7 @@ import * as React from 'react' import Block from '~/components/layout/Block' import Col from '~/components/layout/Col' import AccountBalanceWallet from '@material-ui/icons/AccountBalanceWallet' +import AddCircle from '@material-ui/icons/AddCircle' import Link from '~/components/layout/Link' import Bold from '~/components/layout/Bold' import Img from '~/components/layout/Img' @@ -14,8 +15,8 @@ import { type Token } from '~/routes/tokens/store/model/token' import { type SelectorProps } from '~/routes/tokens/container/selector' import { type Actions } from '~/routes/tokens/container/actions' import { SAFELIST_ADDRESS } from '~/routes/routes' +import AddToken from '~/routes/tokens/component/AddToken' import TokenComponent from './Token' -// import AddToken from '~/routes/tokens/component/AddToken' // import RemoveToken from '~/routes/tokens/component/RemoveToken' const safeIcon = require('~/routes/safe/component/Safe/assets/gnosis_safe.svg') @@ -35,12 +36,13 @@ class TokenLayout extends React.PureComponent { state = { component: undefined, } - /* - onAddToken = () => { - const { addresses } = this.props - this.setState({ component: }) - } + onAddToken = () => () => { + const { addresses, safeAddress } = this.props + this.setState({ component: }) + } + + /* onRemoveToken = () => { this.setState({ component: }) } @@ -82,6 +84,9 @@ class TokenLayout extends React.PureComponent { + + + {name}