Skip to content

Commit

Permalink
rollback useGetResourceList
Browse files Browse the repository at this point in the history
  • Loading branch information
wrt95 committed Oct 18, 2023
1 parent a4d40d8 commit f84ed59
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ export const useGetResourceListQuery = (org: string): UseQueryResult<ResourceLis
const { getResourceList } = useServicesContext();

return useQuery<ResourceListItem[]>([QueryKey.ResourceList, org], () => getResourceList(org), {
select: (data) => {
console.log('data', data);
return data && sortResourceListByDateAndMap(data);
},
select: (data) => data && sortResourceListByDateAndMap(data),
});
};

0 comments on commit f84ed59

Please sign in to comment.