style: fix linting issues met ESLint

This commit is contained in:
Lint Action 2025-04-13 13:00:05 +00:00
parent 67b60caded
commit 8fde49c051
4 changed files with 8 additions and 8 deletions

View file

@ -29,7 +29,7 @@ export async function invalidateAllAssignmentKeys(queryClient: QueryClient, clas
"assignment-questions",
];
for (let key of keys) {
for (const key of keys) {
const queryKey = [key, classid, assignmentNumber].filter(arg => arg !== undefined);
await queryClient.invalidateQueries({ queryKey: queryKey });
}