From f84ed59374596eadbced94dc6a68e3fba190ba49 Mon Sep 17 00:00:00 2001 From: WilliamThorenfeldt Date: Wed, 18 Oct 2023 14:14:04 +0200 Subject: [PATCH] rollback useGetResourceList --- .../resourceadm/hooks/queries/useGetResourceListQuery.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/resourceadm/hooks/queries/useGetResourceListQuery.ts b/frontend/resourceadm/hooks/queries/useGetResourceListQuery.ts index 77a38d3512a..c883f5e9291 100644 --- a/frontend/resourceadm/hooks/queries/useGetResourceListQuery.ts +++ b/frontend/resourceadm/hooks/queries/useGetResourceListQuery.ts @@ -16,9 +16,6 @@ export const useGetResourceListQuery = (org: string): UseQueryResult([QueryKey.ResourceList, org], () => getResourceList(org), { - select: (data) => { - console.log('data', data); - return data && sortResourceListByDateAndMap(data); - }, + select: (data) => data && sortResourceListByDateAndMap(data), }); };