diff --git a/src/pages/inbox/components/DirectMessageButton/components/DirectMessageModal/hooks/useDMUsers.ts b/src/pages/inbox/components/DirectMessageButton/components/DirectMessageModal/hooks/useDMUsers.ts index 93a621229..76ab93e8b 100644 --- a/src/pages/inbox/components/DirectMessageButton/components/DirectMessageModal/hooks/useDMUsers.ts +++ b/src/pages/inbox/components/DirectMessageButton/components/DirectMessageModal/hooks/useDMUsers.ts @@ -57,7 +57,7 @@ export const useDMUsers = (): Return => { } fetchDMUsers(); - },[userId, fetchDMUsers]); + },[userId]); return { fetchDMUsers,