Remove state variable from Link component in Portal

This commit is contained in:
fragosti
2018-06-29 16:47:58 -07:00
parent 9d81e069dc
commit 8ffce78827

View File

@@ -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>
) : (