diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-30 07:47:58 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-30 07:47:58 +0800 |
commit | 8ffce78827bc64f222128dfdd0dc4a45db402f3a (patch) | |
tree | e0f3dbb38632b3f7c9d701c134d1e597df867f74 /packages/website/ts/components | |
parent | 9d81e069dcce24d484c02ae9ca6ec861b6146358 (diff) | |
download | dexon-sol-tools-8ffce78827bc64f222128dfdd0dc4a45db402f3a.tar dexon-sol-tools-8ffce78827bc64f222128dfdd0dc4a45db402f3a.tar.gz dexon-sol-tools-8ffce78827bc64f222128dfdd0dc4a45db402f3a.tar.bz2 dexon-sol-tools-8ffce78827bc64f222128dfdd0dc4a45db402f3a.tar.lz dexon-sol-tools-8ffce78827bc64f222128dfdd0dc4a45db402f3a.tar.xz dexon-sol-tools-8ffce78827bc64f222128dfdd0dc4a45db402f3a.tar.zst dexon-sol-tools-8ffce78827bc64f222128dfdd0dc4a45db402f3a.zip |
Remove state variable from Link component in Portal
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r-- | packages/website/ts/components/portal/portal.tsx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/website/ts/components/portal/portal.tsx b/packages/website/ts/components/portal/portal.tsx index 8a86a7c8d..9c0cb866d 100644 --- a/packages/website/ts/components/portal/portal.tsx +++ b/packages/website/ts/components/portal/portal.tsx @@ -377,10 +377,7 @@ export class Portal extends React.Component<PortalProps, PortalState> { </Container> ); return !shouldStartOnboarding ? ( - <Link - to={{ pathname: `${WebsitePaths.Portal}/account`, state: { startOnboarding: true } }} - style={{ textDecoration: 'none' }} - > + <Link to={{ pathname: `${WebsitePaths.Portal}/account` }} style={{ textDecoration: 'none' }}> {startOnboarding} </Link> ) : ( |