mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
prevent lectures from dropping on each other
This commit is contained in:
@@ -38,7 +38,7 @@ Date: ${lectureDay}
|
||||
const parsed = parseLecture(text);
|
||||
if (!lecture || lectureToString(parsed) !== lectureToString(lecture)) {
|
||||
console.log("updating lecture");
|
||||
updateLecture.mutate(parsed);
|
||||
updateLecture.mutate({ lecture: parsed });
|
||||
}
|
||||
setError("");
|
||||
} catch (e: any) {
|
||||
|
||||
Reference in New Issue
Block a user