mirror of
https://github.com/penpot/penpot.git
synced 2025-03-11 23:31:21 -05:00
Properly handle the route params in navigate event.
This commit is contained in:
parent
c13ec03fe1
commit
60fc30b709
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue