File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -393,6 +393,7 @@ const FeedbackPage = () => {
393393 const [ isSubmitting , setIsSubmitting ] = useState ( false ) ;
394394 const [ toast , setToast ] = useState ( null ) ;
395395 const [ isFocused , setIsFocused ] = useState ( false ) ;
396+ const [ submittedFeedback , setSubmittedFeedback ] = useState ( [ ] ) ;
396397 const formRef = useRef ( null ) ;
397398
398399 const feedbackTypes = [
@@ -657,11 +658,11 @@ const FeedbackPage = () => {
657658 placeholder = "your@email.com"
658659 />
659660
660- < FloatingSelect
661+ < CustomFloatingSelect
661662 id = "feedbackType"
662663 label = "Feedback Type"
663664 value = { formData . feedbackType }
664- onChange = { handleChange }
665+ onChange = { handleSelectChange }
665666 options = { feedbackTypes }
666667 error = { errors . feedbackType }
667668 icon = { FiMessageSquare }
@@ -711,7 +712,6 @@ const FeedbackPage = () => {
711712 ) }
712713 </ div >
713714
714- < form ref = { formRef } onSubmit = { handleSubmit } noValidate >
715715 < FloatingInput
716716 id = "name"
717717 label = "Your Name"
@@ -838,7 +838,6 @@ const FeedbackPage = () => {
838838 </ motion . button >
839839 </ div >
840840 </ form >
841- </ div >
842841 </ div >
843842 </ motion . div >
844843 </ div >
You can’t perform that action at this time.
0 commit comments