diff --git a/src/components/admin/campaign-applications/CampaignApplicationsGrid.tsx b/src/components/admin/campaign-applications/CampaignApplicationsGrid.tsx index fc998632d..4d230a824 100644 --- a/src/components/admin/campaign-applications/CampaignApplicationsGrid.tsx +++ b/src/components/admin/campaign-applications/CampaignApplicationsGrid.tsx @@ -115,7 +115,7 @@ export const useCampaignsList = () => { const { data, isLoading } = fetchMutation() return { - list: data?.toSorted((a, b) => b?.updatedAt?.localeCompare(a?.updatedAt ?? '') ?? 0), + list: data?.sort((a, b) => b?.updatedAt?.localeCompare(a?.updatedAt ?? '') ?? 0), isLoading, } }