mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Fix user unread comments appear in every workspace (#5786)
This commit is contained in:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user