We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee41aaa commit 2e6aec1Copy full SHA for 2e6aec1
web/hooks/use-user.ts
@@ -84,12 +84,13 @@ export const useWebsocketPrivateUser = (userId: string | undefined) => {
84
return privateUser
85
}
86
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
-}
+// export const isBlocked = (
+// privateUser: PrivateUser | null | undefined,
+// otherUserId: string
+// ) => {
+// return (
+// privateUser?.blockedUserIds.includes(otherUserId) ||
+// privateUser?.blockedByUserIds.includes(otherUserId)
+// )
+// }
96
+
0 commit comments