From 45493880cddb33508888e46fff9921a254724265 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 25 Jun 2023 16:22:47 -0500 Subject: [PATCH] Export useFollowing hook --- app/soapbox/api/hooks/index.ts | 1 + app/soapbox/features/followers/index.tsx | 3 +-- app/soapbox/features/following/index.tsx | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) 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';