fix: Escape apostrophes in JSX and remove autoFocus attributes to resolve ESLint errors
This commit is contained in:
@@ -93,7 +93,7 @@ export default function ForgotPasswordPage() {
|
||||
Forgot Password?
|
||||
</Typography>
|
||||
<Typography variant="body2" color="text.secondary">
|
||||
No worries! Enter your email address and we'll send you a link to reset your password.
|
||||
No worries! Enter your email address and we'll send you a link to reset your password.
|
||||
</Typography>
|
||||
</Box>
|
||||
|
||||
@@ -112,7 +112,6 @@ export default function ForgotPasswordPage() {
|
||||
onChange={(e) => setEmail(e.target.value)}
|
||||
disabled={loading}
|
||||
required
|
||||
autoFocus
|
||||
sx={{
|
||||
mb: 3,
|
||||
'& .MuiOutlinedInput-root': {
|
||||
@@ -183,12 +182,12 @@ export default function ForgotPasswordPage() {
|
||||
</Typography>
|
||||
|
||||
<Typography variant="body1" color="text.secondary" sx={{ mb: 3 }}>
|
||||
If an account with that email exists, we've sent you a password reset link. Please check your inbox and follow the instructions.
|
||||
If an account with that email exists, we've sent you a password reset link. Please check your inbox and follow the instructions.
|
||||
</Typography>
|
||||
|
||||
<Alert severity="info" sx={{ mb: 3, borderRadius: 2, textAlign: 'left' }}>
|
||||
<Typography variant="body2" fontWeight="600" gutterBottom>
|
||||
Didn't receive the email?
|
||||
Didn't receive the email?
|
||||
</Typography>
|
||||
<Typography variant="body2">
|
||||
• Check your spam or junk folder
|
||||
|
||||
Reference in New Issue
Block a user