fix: go back on save

feat/course
Arik Chakma 3 weeks ago
parent 0683ad0fc5
commit af8d35b6ae
  1. 4
      src/components/CourseNotes/CourseNoteForm.tsx

@ -67,10 +67,6 @@ export function CourseNoteForm(props: CourseNoteFormProps) {
},
{
onSuccess: () => {
if (defaultNote?._id) {
return;
}
onCancelClick?.();
},
},

Loading…
Cancel
Save