fixed page key

This commit is contained in:
2024-09-02 11:21:07 -06:00
parent 1b03061fdd
commit 130035cc48
15 changed files with 446 additions and 336 deletions

View File

@@ -15,7 +15,7 @@ export const useAssignmentNamesQuery = (
encodeURIComponent(courseName) +
"/modules/" +
encodeURIComponent(moduleName) +
"/assignments"
"/assignments";
const response = await axios.get(url);
return response.data;
},
@@ -41,8 +41,6 @@ const getAssignmentQueryConfig = (
encodeURIComponent(moduleName) +
"/assignments/" +
encodeURIComponent(assignmentName);
console.log(url);
const response = await axios.get(url);
return response.data;
},