Skip to content

Commit 2e6aec1

Browse files
committed
Comment
1 parent ee41aaa commit 2e6aec1

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

web/hooks/use-user.ts

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,13 @@ export const useWebsocketPrivateUser = (userId: string | undefined) => {
8484
return privateUser
8585
}
8686

87-
export const isBlocked = (
88-
privateUser: PrivateUser | null | undefined,
89-
otherUserId: string
90-
) => {
91-
return (
92-
privateUser?.blockedUserIds.includes(otherUserId) ||
93-
privateUser?.blockedByUserIds.includes(otherUserId)
94-
)
95-
}
87+
// export const isBlocked = (
88+
// privateUser: PrivateUser | null | undefined,
89+
// otherUserId: string
90+
// ) => {
91+
// return (
92+
// privateUser?.blockedUserIds.includes(otherUserId) ||
93+
// privateUser?.blockedByUserIds.includes(otherUserId)
94+
// )
95+
// }
96+

0 commit comments

Comments
 (0)