feat: handle completion when logged out

This commit is contained in:
Oliver Eyton-Williams
2019-10-09 11:42:47 +02:00
committed by mrugesh
parent feb96c3e3b
commit bc1b6ca7a2
2 changed files with 21 additions and 4 deletions

View File

@@ -35,11 +35,11 @@ function Login(props) {
const { children, navigate, isSignedIn, ...restProps } = props;
return (
<Button
bsStyle='default'
className={(restProps.block ? 'btn-cta-big' : '') + ' signup-btn btn-cta'}
href='/signin'
onClick={createOnClick(navigate, isSignedIn)}
{...restProps}
bsStyle='default'
className={(restProps.block ? 'btn-cta-big' : '') + ' signup-btn btn-cta'}
>
{children || 'Sign In'}
</Button>