Merge pull request #970 from automatisch/add-signup
feat: add signup page
This commit is contained in:
@@ -158,7 +158,9 @@ function ProfileSettings() {
|
||||
margin="normal"
|
||||
type="password"
|
||||
error={touchedFields.password && !!errors?.password}
|
||||
helperText={errors?.password?.message || ' '}
|
||||
helperText={
|
||||
(touchedFields.password && errors?.password?.message) || ''
|
||||
}
|
||||
/>
|
||||
|
||||
<TextField
|
||||
@@ -170,7 +172,11 @@ function ProfileSettings() {
|
||||
error={
|
||||
touchedFields.confirmPassword && !!errors?.confirmPassword
|
||||
}
|
||||
helperText={errors?.confirmPassword?.message || ' '}
|
||||
helperText={
|
||||
(touchedFields.confirmPassword &&
|
||||
errors?.confirmPassword?.message) ||
|
||||
' '
|
||||
}
|
||||
/>
|
||||
|
||||
<Button
|
||||
|
14
packages/web/src/pages/SignUp/index.ee.tsx
Normal file
14
packages/web/src/pages/SignUp/index.ee.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import * as React from 'react';
|
||||
import Box from '@mui/material/Box';
|
||||
import Container from 'components/Container';
|
||||
import SignUpForm from 'components/SignUpForm/index.ee';
|
||||
|
||||
export default function Login(): React.ReactElement {
|
||||
return (
|
||||
<Box sx={{ display: 'flex', flex: 1, alignItems: 'center' }}>
|
||||
<Container maxWidth="sm">
|
||||
<SignUpForm />
|
||||
</Container>
|
||||
</Box>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user