Remove mock data for Group Discovery

This commit is contained in:
Chewbacca 2023-03-28 10:32:56 -04:00
parent a45be78b97
commit 29c913859e
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ function usePopularGroups() {
const { entities, ...result } = useEntities<Group>(
[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,

View file

@ -12,7 +12,7 @@ function useSuggestedGroups() {
const { entities, ...result } = useEntities<Group>(
[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,