diff --git a/src/client/webapp/elements/require/guild-subscriptions.ts b/src/client/webapp/elements/require/guild-subscriptions.ts index 7c6dd6c..0ab8c6c 100644 --- a/src/client/webapp/elements/require/guild-subscriptions.ts +++ b/src/client/webapp/elements/require/guild-subscriptions.ts @@ -812,7 +812,7 @@ export function useChannelsSubscription(guild: CombinedGuild) { * fetchError: Any error from fetching * ] */ -export function useMembersSubscription(guild: CombinedGuild) { +function useMembersSubscription(guild: CombinedGuild) { const fetchMembersFunc = useCallback(async () => { const members = await guild.fetchMembers(); return members; diff --git a/src/client/webapp/elements/require/setup-guild-recoil.ts b/src/client/webapp/elements/require/setup-guild-recoil.ts index 49138c7..6c84399 100644 --- a/src/client/webapp/elements/require/setup-guild-recoil.ts +++ b/src/client/webapp/elements/require/setup-guild-recoil.ts @@ -136,7 +136,6 @@ export function useRecoilSelectedGuildMembers(): void { const lastFetchId = useRef(null); - // TODO: Test this custom effect out // Fetch initial value diff --git a/src/client/webapp/elements/sections/guild.tsx b/src/client/webapp/elements/sections/guild.tsx index 30470fb..8b62de3 100644 --- a/src/client/webapp/elements/sections/guild.tsx +++ b/src/client/webapp/elements/sections/guild.tsx @@ -9,7 +9,7 @@ import CombinedGuild from '../../guild-combined'; import ChannelList from '../lists/channel-list'; import MemberList from '../lists/member-list'; import MessageList from '../lists/message-list'; -import { useSelfMemberSubscription, useMembersSubscription, useChannelsSubscription } from '../require/guild-subscriptions'; +import { useSelfMemberSubscription, useChannelsSubscription } from '../require/guild-subscriptions'; import ChannelTitle from './channel-title'; import ConnectionInfo from './connection-info'; import GuildTitle from './guild-title';