From afc1632797c0d35df7da03432eba9ab0f1875f55 Mon Sep 17 00:00:00 2001 From: N3WT DE COMPET Date: Sun, 24 Nov 2024 12:50:06 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20Correction=20de=20la=20d=C3=A9sactivatio?= =?UTF-8?q?n=20des=20sp=C3=A9cialit=C3=A9s=20lorsqu'on=20s=C3=A9lectionne?= =?UTF-8?q?=20un=20enseignant=20[#2]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Front-End/src/components/ClassForm.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Front-End/src/components/ClassForm.js b/Front-End/src/components/ClassForm.js index de0bed6..2e7e702 100644 --- a/Front-End/src/components/ClassForm.js +++ b/Front-End/src/components/ClassForm.js @@ -21,8 +21,7 @@ const ClassForm = ({ classe, onSubmit, isNew, specialities, teachers }) => { })); }; - const handleSliderChange = (value) => { - console.log('update value : ', value) + const handleSliderChange = (value) => { setFormData(prevFormData => ({ ...prevFormData, tranche_age: value @@ -161,7 +160,7 @@ const ClassForm = ({ classe, onSubmit, isNew, specialities, teachers }) => { onChange={handleChange} className="form-radio h-3 w-3 text-emerald-600 focus:ring-emerald-500 hover:ring-emerald-400 checked:bg-emerald-600 checked:h-3 checked:w-3" /> -