0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -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] ([check-modal]
(ptk/reify ::deselect-all (ptk/reify ::deselect-all
ptk/WatchEvent ptk/WatchEvent
(watch [_ _ _] (watch [_ state _]
(rx/of ::dwsp/interrupt)) (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 ptk/UpdateEvent
(update [_ state] (update [_ state]