src/pages/reset.js
Function Reset
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const Reset = () => {
const { reset, resetInstructions, email: emailText, resetPassword, resetSuccess } = useLocale();
const [email, setEmail] = useState('');
const [error, setError] = useState('');
const [loading, setLoading] = useState(false);