From 2e6aec175aa2c47441a1a6e994f5fbc75e377cc2 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Wed, 29 Oct 2025 17:51:22 +0100 Subject: [PATCH] Comment --- web/hooks/use-user.ts | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/web/hooks/use-user.ts b/web/hooks/use-user.ts index 41d3ff69..7ffe8c53 100644 --- a/web/hooks/use-user.ts +++ b/web/hooks/use-user.ts @@ -84,12 +84,13 @@ export const useWebsocketPrivateUser = (userId: string | undefined) => { return privateUser } -export const isBlocked = ( - privateUser: PrivateUser | null | undefined, - otherUserId: string -) => { - return ( - privateUser?.blockedUserIds.includes(otherUserId) || - privateUser?.blockedByUserIds.includes(otherUserId) - ) -} +// export const isBlocked = ( +// privateUser: PrivateUser | null | undefined, +// otherUserId: string +// ) => { +// return ( +// privateUser?.blockedUserIds.includes(otherUserId) || +// privateUser?.blockedByUserIds.includes(otherUserId) +// ) +// } +