Skip to content

Commit

Permalink
fixed front lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Numero7 committed Feb 13, 2025
1 parent 7d56f6d commit 79335ec
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/front/src/features/élève/ui/élèveQueries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ export const élèveQueryOptions = queryOptions({
export const progressionQueryOptions = queryOptions({
queryKey: [queryÉlèveKeys.PROGRESSION],
queryFn: async () => {
const réponse = await dépendances.récupérerProgressionÉlèveUseCase.run();

if (réponse instanceof Error) throw réponse;

return réponse;
return await dépendances.récupérerProgressionÉlèveUseCase.run();
},
});

0 comments on commit 79335ec

Please sign in to comment.