Skip to content

Commit

Permalink
remove signup page promotion checkbox; fix link (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
lihebi authored May 10, 2023
1 parent 2d7a9c5 commit 54c54d1
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions ui/src/pages/signup.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useEffect, useState } from "react";

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

import Avatar from "@mui/material/Avatar";
import Button from "@mui/material/Button";
Expand Down Expand Up @@ -159,12 +159,6 @@ export default function SignUp() {
// helperText={formik.touched.password && formik.errors.password}
/>
</Grid>
<Grid item xs={12}>
<FormControlLabel
control={<Checkbox value="allowExtraEmails" color="primary" />}
label="I want to receive inspiration, marketing promotions and updates via email."
/>
</Grid>
</Grid>
<Button
type="submit"
Expand All @@ -177,7 +171,7 @@ export default function SignUp() {
{error && <Alert severity="error">{error}</Alert>}
<Grid container justifyContent="flex-end">
<Grid item>
<Link href="#" variant="body2">
<Link component={ReactLink} to="/login">
Already have an account? Sign in
</Link>
</Grid>
Expand Down

0 comments on commit 54c54d1

Please sign in to comment.