diff --git a/app/soapbox/hooks/api/usePopularGroups.ts b/app/soapbox/hooks/api/usePopularGroups.ts index b7c683970..385322500 100644 --- a/app/soapbox/hooks/api/usePopularGroups.ts +++ b/app/soapbox/hooks/api/usePopularGroups.ts @@ -12,7 +12,7 @@ function usePopularGroups() { const { entities, ...result } = useEntities( [Entities.GROUPS, 'popular'], - () => api.get('/api/mock/groups'), // '/api/v1/truth/trends/groups' + () => api.get('/api/v1/truth/trends/groups'), { schema: groupSchema, enabled: features.groupsDiscovery, diff --git a/app/soapbox/hooks/api/useSuggestedGroups.ts b/app/soapbox/hooks/api/useSuggestedGroups.ts index 0ac06b4ce..49f60c2b1 100644 --- a/app/soapbox/hooks/api/useSuggestedGroups.ts +++ b/app/soapbox/hooks/api/useSuggestedGroups.ts @@ -12,7 +12,7 @@ function useSuggestedGroups() { const { entities, ...result } = useEntities( [Entities.GROUPS, 'suggested'], - () => api.get('/api/mock/groups'), // '/api/v1/truth/suggestions/groups' + () => api.get('/api/v1/truth/suggestions/groups'), { schema: groupSchema, enabled: features.groupsDiscovery,