style: fix linting issues met ESLint
This commit is contained in:
parent
bddcf4e0e8
commit
564a695f50
1 changed files with 2 additions and 2 deletions
|
@ -59,8 +59,8 @@ export function useTeacherInvitationQuery(
|
|||
data: MaybeRefOrGetter<TeacherInvitationData | undefined>,
|
||||
): UseQueryReturnType<TeacherInvitationResponse, Error> {
|
||||
return useQuery({
|
||||
queryKey: teacherInvitationQueryKey(toValue(data)!),
|
||||
queryFn: async () => controller.getBy(toValue(data)!),
|
||||
queryKey: teacherInvitationQueryKey(toValue(data)),
|
||||
queryFn: async () => controller.getBy(toValue(data)),
|
||||
enabled: () => Boolean(toValue(data)),
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue