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 1
1
import { useEffect , useState } from "react" ;
2
2
3
- import { useNavigate } from "react-router-dom" ;
3
+ import { Link as ReactLink , useNavigate } from "react-router-dom" ;
4
4
5
5
import Avatar from "@mui/material/Avatar" ;
6
6
import Button from "@mui/material/Button" ;
@@ -159,12 +159,6 @@ export default function SignUp() {
159
159
// helperText={formik.touched.password && formik.errors.password}
160
160
/>
161
161
</ 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 >
168
162
</ Grid >
169
163
< Button
170
164
type = "submit"
@@ -177,7 +171,7 @@ export default function SignUp() {
177
171
{ error && < Alert severity = "error" > { error } </ Alert > }
178
172
< Grid container justifyContent = "flex-end" >
179
173
< Grid item >
180
- < Link href = "#" variant = "body2 ">
174
+ < Link component = { ReactLink } to = "/login ">
181
175
Already have an account? Sign in
182
176
</ Link >
183
177
</ Grid >
You can’t perform that action at this time.
0 commit comments