Link various sign up buttons to /signup

set-dependency-scanning-config-1
Alex Gleason 2022-05-11 14:55:40 -05:00
rodzic 64cce966a2
commit 31486b1320
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -85,7 +85,7 @@ const Navbar = () => {
</Button> </Button>
{!singleUserMode && ( {!singleUserMode && (
<Button theme='primary' to='/' size='sm'> <Button theme='primary' to='/signup' size='sm'>
<FormattedMessage id='account.register' defaultMessage='Sign up' /> <FormattedMessage id='account.register' defaultMessage='Sign up' />
</Button> </Button>
)} )}

Wyświetl plik

@ -23,7 +23,7 @@ const SignUpPanel = () => {
</Text> </Text>
</Stack> </Stack>
<Button theme='primary' block to='/'> <Button theme='primary' block to='/signup'>
<FormattedMessage id='account.register' defaultMessage='Sign up' /> <FormattedMessage id='account.register' defaultMessage='Sign up' />
</Button> </Button>
</Stack> </Stack>

Wyświetl plik

@ -102,7 +102,7 @@ class UnauthorizedModal extends ImmutablePureComponent {
onRegister = (e) => { onRegister = (e) => {
e.preventDefault(); e.preventDefault();
this.props.history.push('/'); this.props.history.push('/signup');
this.onClickClose(); this.onClickClose();
} }