refactor: gebruik queries ipv controllers
This commit is contained in:
parent
4b6be93e63
commit
b0077e4911
2 changed files with 126 additions and 142 deletions
|
@ -27,7 +27,7 @@
|
|||
const classesQuery = useTeacherClassesQuery(username, true);
|
||||
const allClassesQuery = useClassesQuery();
|
||||
const { mutate } = useCreateClassMutation();
|
||||
const getInvitationsQuery = useClassTeacherInvitationsQuery(username);
|
||||
const getInvitationsQuery = useClassTeacherInvitationsQuery(username); // TODO: use useTeacherInvitationsReceivedQuery
|
||||
|
||||
// Boolean that handles visibility for dialogs
|
||||
// Creating a class will generate a popup with the generated code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue