diff --git a/frontend/src/pages/mobile-assignment/AddAssignment.jsx b/frontend/src/pages/mobile-assignment/AddAssignment.jsx index 80fdf5f90..aecc5991d 100644 --- a/frontend/src/pages/mobile-assignment/AddAssignment.jsx +++ b/frontend/src/pages/mobile-assignment/AddAssignment.jsx @@ -198,7 +198,7 @@ const AddAssignment = () => { if (!id && preload) { setPreload(false); } - }, [id, preload, form, editAssignment, levels, selectedAdm]); + }, [id, preload, form, editAssignment, levels, selectedAdm, authUser]); useEffect(() => { fetchData();