0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-12 07:41:43 -05:00

Properly handle the route params in navigate event.

This commit is contained in:
Andrey Antukh 2016-11-13 17:19:47 +01:00
parent c13ec03fe1
commit 60fc30b709
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -37,7 +37,7 @@
(defrecord Navigate [id params]
rs/EffectEvent
(-apply-effect [_ state]
(r/navigate! +router+ id {})))
(r/navigate! +router+ id params)))
(defn navigate
([id] (navigate id nil))