diff --git a/app/soapbox/api/hooks/index.ts b/app/soapbox/api/hooks/index.ts index 157304dd7..6da6de49e 100644 --- a/app/soapbox/api/hooks/index.ts +++ b/app/soapbox/api/hooks/index.ts @@ -3,6 +3,7 @@ export { useAccount } from './accounts/useAccount'; export { useAccountLookup } from './accounts/useAccountLookup'; export { useFollow } from './accounts/useFollow'; +export { useFollowing } from './accounts/useFollowing'; export { useRelationships } from './accounts/useRelationships'; export { usePatronUser } from './accounts/usePatronUser'; diff --git a/app/soapbox/features/followers/index.tsx b/app/soapbox/features/followers/index.tsx index 149477a0f..a7e4143c4 100644 --- a/app/soapbox/features/followers/index.tsx +++ b/app/soapbox/features/followers/index.tsx @@ -1,8 +1,7 @@ import React from 'react'; import { defineMessages, FormattedMessage, useIntl } from 'react-intl'; -import { useAccountLookup } from 'soapbox/api/hooks'; -import { useFollowing } from 'soapbox/api/hooks/accounts/useFollowing'; +import { useAccountLookup, useFollowing } from 'soapbox/api/hooks'; import Account from 'soapbox/components/account'; import MissingIndicator from 'soapbox/components/missing-indicator'; import ScrollableList from 'soapbox/components/scrollable-list'; diff --git a/app/soapbox/features/following/index.tsx b/app/soapbox/features/following/index.tsx index 629d8c491..65b395ad2 100644 --- a/app/soapbox/features/following/index.tsx +++ b/app/soapbox/features/following/index.tsx @@ -1,8 +1,7 @@ import React from 'react'; import { defineMessages, FormattedMessage, useIntl } from 'react-intl'; -import { useAccountLookup } from 'soapbox/api/hooks'; -import { useFollowing } from 'soapbox/api/hooks/accounts/useFollowing'; +import { useAccountLookup, useFollowing } from 'soapbox/api/hooks'; import Account from 'soapbox/components/account'; import MissingIndicator from 'soapbox/components/missing-indicator'; import ScrollableList from 'soapbox/components/scrollable-list';