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>, |     data: MaybeRefOrGetter<TeacherInvitationData | undefined>, | ||||||
| ): UseQueryReturnType<TeacherInvitationResponse, Error> { | ): UseQueryReturnType<TeacherInvitationResponse, Error> { | ||||||
|     return useQuery({ |     return useQuery({ | ||||||
|         queryKey: teacherInvitationQueryKey(toValue(data)!), |         queryKey: teacherInvitationQueryKey(toValue(data)), | ||||||
|         queryFn: async () => controller.getBy(toValue(data)!), |         queryFn: async () => controller.getBy(toValue(data)), | ||||||
|         enabled: () => Boolean(toValue(data)), |         enabled: () => Boolean(toValue(data)), | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 Lint Action
						Lint Action