kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Link various sign up buttons to /signup
rodzic
64cce966a2
commit
31486b1320
|
@ -85,7 +85,7 @@ const Navbar = () => {
|
|||
</Button>
|
||||
|
||||
{!singleUserMode && (
|
||||
<Button theme='primary' to='/' size='sm'>
|
||||
<Button theme='primary' to='/signup' size='sm'>
|
||||
<FormattedMessage id='account.register' defaultMessage='Sign up' />
|
||||
</Button>
|
||||
)}
|
||||
|
|
|
@ -23,7 +23,7 @@ const SignUpPanel = () => {
|
|||
</Text>
|
||||
</Stack>
|
||||
|
||||
<Button theme='primary' block to='/'>
|
||||
<Button theme='primary' block to='/signup'>
|
||||
<FormattedMessage id='account.register' defaultMessage='Sign up' />
|
||||
</Button>
|
||||
</Stack>
|
||||
|
|
|
@ -102,7 +102,7 @@ class UnauthorizedModal extends ImmutablePureComponent {
|
|||
onRegister = (e) => {
|
||||
e.preventDefault();
|
||||
|
||||
this.props.history.push('/');
|
||||
this.props.history.push('/signup');
|
||||
this.onClickClose();
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue