Skip to content

Commit 54c54d1

Browse files
authored
remove signup page promotion checkbox; fix link (#304)
1 parent 2d7a9c5 commit 54c54d1

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

ui/src/pages/signup.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useEffect, useState } from "react";
22

3-
import { useNavigate } from "react-router-dom";
3+
import { Link as ReactLink, useNavigate } from "react-router-dom";
44

55
import Avatar from "@mui/material/Avatar";
66
import Button from "@mui/material/Button";
@@ -159,12 +159,6 @@ export default function SignUp() {
159159
// helperText={formik.touched.password && formik.errors.password}
160160
/>
161161
</Grid>
162-
<Grid item xs={12}>
163-
<FormControlLabel
164-
control={<Checkbox value="allowExtraEmails" color="primary" />}
165-
label="I want to receive inspiration, marketing promotions and updates via email."
166-
/>
167-
</Grid>
168162
</Grid>
169163
<Button
170164
type="submit"
@@ -177,7 +171,7 @@ export default function SignUp() {
177171
{error && <Alert severity="error">{error}</Alert>}
178172
<Grid container justifyContent="flex-end">
179173
<Grid item>
180-
<Link href="#" variant="body2">
174+
<Link component={ReactLink} to="/login">
181175
Already have an account? Sign in
182176
</Link>
183177
</Grid>

0 commit comments

Comments
 (0)