mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 15:18:32 -06:00
no errors when viewing a different course
This commit is contained in:
@@ -38,8 +38,8 @@ export const useAddAssignmentToCanvasMutation = () => {
|
||||
moduleName: string;
|
||||
}) => {
|
||||
if (!canvasModules) {
|
||||
console.log("cannot add assignment until modules loaded");
|
||||
return;
|
||||
// console.log("cannot add assignment until modules loaded");
|
||||
throw new Error("cannot add assignment until modules loaded");
|
||||
}
|
||||
|
||||
const assignmentGroup = settings.assignmentGroups.find(
|
||||
|
||||
Reference in New Issue
Block a user