Refactor 'usePendingGroups' into new api hooks

This commit is contained in:
Chewbacca
2023-06-28 14:50:46 -04:00
parent 11f100da51
commit 6f2e0749b6
6 changed files with 40 additions and 61 deletions

View File

@@ -1,9 +1,9 @@
import React from 'react';
import { usePendingGroups } from 'soapbox/api/hooks';
import { PendingItemsRow } from 'soapbox/components/pending-items-row';
import { Divider } from 'soapbox/components/ui';
import { useFeatures } from 'soapbox/hooks';
import { usePendingGroups } from 'soapbox/queries/groups';
export default () => {
const features = useFeatures();