From 5499f63ef51fefed9c3257cb58809ef6337724d1 Mon Sep 17 00:00:00 2001 From: MartinSchoeler Date: Fri, 17 Feb 2023 14:05:59 -0300 Subject: [PATCH] Fix reviews --- .../client/views/omnichannel/agents/AgentEditWithData.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/meteor/client/views/omnichannel/agents/AgentEditWithData.tsx b/apps/meteor/client/views/omnichannel/agents/AgentEditWithData.tsx index fda193127e4d..e04f82b1109d 100644 --- a/apps/meteor/client/views/omnichannel/agents/AgentEditWithData.tsx +++ b/apps/meteor/client/views/omnichannel/agents/AgentEditWithData.tsx @@ -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' }));