fix: build errors
This commit is contained in:
parent
93b0e28e34
commit
91e9756bf0
2 changed files with 0 additions and 3 deletions
|
|
@ -446,7 +446,6 @@ const goBackToPeers = () => {
|
|||
const {
|
||||
isConnected,
|
||||
messages,
|
||||
isLoggedIn,
|
||||
connect,
|
||||
disconnect,
|
||||
subscribeToPeer,
|
||||
|
|
@ -455,7 +454,6 @@ const {
|
|||
onMessageAdded,
|
||||
markMessagesAsRead,
|
||||
getUnreadCount,
|
||||
getAllUnreadCounts,
|
||||
getTotalUnreadCount
|
||||
} = useNostrChat()
|
||||
|
||||
|
|
|
|||
|
|
@ -111,7 +111,6 @@ export function useNostrChat() {
|
|||
// Mark messages as read for a peer
|
||||
const markMessagesAsRead = (peerPubkey: string): void => {
|
||||
const currentTimestamp = Math.floor(Date.now() / 1000)
|
||||
const unreadData = getUnreadData(peerPubkey)
|
||||
|
||||
// Update last read timestamp, reset unread count, and clear processed message IDs
|
||||
const updatedData: UnreadMessageData = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue