diff --git a/src/components/navigation/right/MemberSidebar.tsx b/src/components/navigation/right/MemberSidebar.tsx index 9f10f822..169c97dc 100644 --- a/src/components/navigation/right/MemberSidebar.tsx +++ b/src/components/navigation/right/MemberSidebar.tsx @@ -215,12 +215,12 @@ export const ServerMemberSidebar = observer( useEffect(() => { const server_id = channel.server_id!; if (status === ClientStatus.ONLINE && !FETCHED.has(server_id)) { + FETCHED.add(server_id); channel .server!.syncMembers(shouldSkipOffline(server_id)) - .then(() => FETCHED.add(server_id)); + .then(() => FETCHED.delete(server_id)); } - // eslint-disable-next-line - }, [status, channel.server_id]); + }, [status, channel]); const entries = useEntries( channel,