diff --git a/components/Form/Cfp/stepThree.js b/components/Form/Cfp/stepThree.js index d8409697..c7ae26e4 100644 --- a/components/Form/Cfp/stepThree.js +++ b/components/Form/Cfp/stepThree.js @@ -33,7 +33,7 @@ function StepThree({ setStep, setForm, data }) { const [value, setValue] = useState({}); useEffect(() => { setForm({ ...data, ...value}); - }, [value]); + }, [value, data, setForm]); return (