fix: go back on save

pull/8127/head
Arik Chakma 4 months 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