File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 11import { useEffect , useState } from "react" ;
22
3- import { useNavigate } from "react-router-dom" ;
3+ import { Link as ReactLink , useNavigate } from "react-router-dom" ;
44
55import Avatar from "@mui/material/Avatar" ;
66import 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 >
You can’t perform that action at this time.
0 commit comments