🐛 Fix user unread comments appear in every workspace (#5786)

This commit is contained in:
luisδμ
2025-02-06 14:24:30 +01:00
committed by GitHub
parent 518ba0ebe7
commit 00b0a59868

View File

@@ -404,6 +404,10 @@
(defn retrieve-comment-threads
[file-id]
(ptk/reify ::retrieve-comment-threads
ptk/UpdateEvent
(update [_ state]
(dissoc state :comment-threads))
ptk/WatchEvent
(watch [_ state _]
(let [share-id (-> state :viewer-local :share-id)]