Skip to content

Commit

Permalink
fix: remove redundant queries in CodePopup
Browse files Browse the repository at this point in the history
  • Loading branch information
Scripter36 committed Apr 7, 2024
1 parent c8943ca commit 774a4eb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/pages/main/dashboard/CodePopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ function CodePopup() {
mutationFn: deactivateAuthCode,
mutationKey: ["deactivateAuthCode"],
onSuccess: async () => {
await queryClient.invalidateQueries({
queryKey: ["currentSessionInfo", classId],
});
window.close();
},
});
Expand Down

0 comments on commit 774a4eb

Please sign in to comment.