Skip to content

Commit

Permalink
Fix reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchoeler committed Feb 17, 2023
1 parent 8f6b2dd commit 5499f63
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ const AgentEditWithData = ({ uid, reload }: AgentEditWithDataProps): ReactElemen
const { data, isInitialLoading: isLoading, error } = useQuery(['getAgent'], async () => getAgent());
const {
data: userDepartments,
isInitialLoading: isUserDepartmentsLoading,
isLoading: isUserDepartmentsLoading,
error: userDepartmentsError,
} = useQuery({ queryKey: ['getAgentDepartments'], queryFn: async () => getAgentDepartments(), cacheTime: 0 });

const {
data: availableDepartments,
isInitialLoading: isAvailableDepartmentsLoading,
isLoading: isAvailableDepartmentsLoading,
error: availableDepartmentsError,
} = useQuery(['getDepartments'], async () => getDepartments({ showArchived: 'true' }));

Expand Down

0 comments on commit 5499f63

Please sign in to comment.