0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-04 13:50:12 -05:00

🐛Fix link when deselecting shapes

This commit is contained in:
Marina López 2024-12-13 12:02:20 +01:00 committed by Alonso Torres
parent b18ee859b1
commit c61b794ab6

View file

@ -304,8 +304,11 @@
([check-modal]
(ptk/reify ::deselect-all
ptk/WatchEvent
(watch [_ _ _]
(rx/of ::dwsp/interrupt))
(watch [_ state _]
(let [params-without-board (-> (rt/get-params state)
(dissoc :board-id))]
(rx/of ::dwsp/interrupt)
(rx/of (rt/nav :workspace params-without-board {::rt/replace true}))))
ptk/UpdateEvent
(update [_ state]