componentDidUpdate(prevProps, prevState) { if (prevState.error && prevState.status === \'fillingQuiz\') setFormData({ error: \'\' }) if (formData.status ===