diff --git a/web/hooks/use-group.ts b/web/hooks/use-group.ts index 4f968005..892efda0 100644 --- a/web/hooks/use-group.ts +++ b/web/hooks/use-group.ts @@ -51,7 +51,8 @@ export const useMemberGroups = ( }, sort ) - }, [options?.withChatEnabled, sort, userId]) + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [options?.withChatEnabled, sort?.by, userId]) return memberGroups }