Remove mock data for Group Discovery
This commit is contained in:
parent
a45be78b97
commit
29c913859e
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue