Newer
Older
// Copyright 2015-2018 Parity Technologies (UK) Ltd.
// This file is part of Parity.
//
// SPDX-License-Identifier: MIT
import { TokenCard } from 'light-ui';
import { withRouter } from 'react-router-dom';
import withBalance from '../../../utils/withBalance';
@withBalance()
const { history, sendStore, token } = this.props;
if (!token.address) {
return;
}
sendStore.setTokenAddress(token.address);
return <TokenCard onClick={this.handleClick} {...this.props} />;