Skip to content

Commit f04f0c0

Browse files
author
Fahd
committed
remove button from dashboard
1 parent c20ba5c commit f04f0c0

2 files changed

Lines changed: 30 additions & 7 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import React, { Component } from 'react';
2+
import { PageCentered, Button, Toaster, notify } from '@polymathnetwork/ui';
3+
import { Link } from 'react-router-dom';
4+
5+
export default class TickerCard extends Component {
6+
render() {
7+
const { ticker } = this.props;
8+
return (
9+
<div className="token-symbol-wrapper">
10+
<div className="pui-page-box">
11+
<h3>Continue to configure security token</h3>
12+
<div style={{ height: '140px' }} />
13+
<br />
14+
<Link to="/ticker">
15+
<Button kind="secondary" className="export-tokens-list-btn">
16+
Get Started
17+
</Button>
18+
</Link>
19+
</div>
20+
</div>
21+
);
22+
}
23+
}

packages/polymath-issuer/src/pages/account/index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
import { connect } from 'react-redux';
1111
import { fetchTickerList } from '../../actions/account';
1212
import TickerCard from './components/TickerCard';
13+
import ConfigCard from './components/ConfigCard';
1314

1415
class HomePage extends Component {
1516
async componentDidMount() {
@@ -25,15 +26,14 @@ class HomePage extends Component {
2526
<PageCentered>
2627
<Grid>
2728
<Grid.Row>
28-
<p>
29-
<Link to="/ticker">
30-
<Button id="create-token-btn" icon="arrow--right">
31-
Continue to configure your security token
32-
</Button>
33-
</Link>
34-
</p>
29+
<Grid.Col gridSpan={12}>
30+
<h1>Manage your security tokens</h1>
31+
</Grid.Col>
3532
</Grid.Row>
3633
<Grid.Row>
34+
<Grid.Col gridSpan={4}>
35+
<ConfigCard />
36+
</Grid.Col>
3737
{tickers.map(ticker => {
3838
return (
3939
<Grid.Col gridSpan={4}>

0 commit comments

Comments
 (0)