diff --git a/frontend/src/views/practitioner/components/ExerciseListModal.jsx b/frontend/src/views/practitioner/components/ExerciseListModal.jsx index 4bc8001..b64a301 100644 --- a/frontend/src/views/practitioner/components/ExerciseListModal.jsx +++ b/frontend/src/views/practitioner/components/ExerciseListModal.jsx @@ -20,7 +20,7 @@ const ExerciseListModal = ({ exercises, onAddExercises, onClose }) => { const handleSubmit = () => { onAddExercises(selectedExercises); - onClose(); + handleClose(); }; return ( diff --git a/frontend/src/views/practitioner/components/Navbar.jsx b/frontend/src/views/practitioner/components/Navbar.jsx index 4925e11..1c97651 100644 --- a/frontend/src/views/practitioner/components/Navbar.jsx +++ b/frontend/src/views/practitioner/components/Navbar.jsx @@ -20,7 +20,7 @@ const Navbar = () => { }; return ( -