mirror of
https://github.com/penpot/penpot.git
synced 2025-02-02 20:39:09 -05:00
fix(frontend): fix wrong arity decl on navigate function
This commit is contained in:
parent
9a313752c5
commit
adfd40cde7
1 changed files with 2 additions and 2 deletions
|
@ -95,8 +95,8 @@
|
||||||
(navigate! router id params qparams))))
|
(navigate! router id params qparams))))
|
||||||
|
|
||||||
(defn nav
|
(defn nav
|
||||||
([id] (navigate id nil nil))
|
([id] (nav id nil nil))
|
||||||
([id params] (navigate id params nil))
|
([id params] (nav id params nil))
|
||||||
([id params qparams]
|
([id params qparams]
|
||||||
{:pre [(keyword? id)]}
|
{:pre [(keyword? id)]}
|
||||||
(Navigate. id params qparams)))
|
(Navigate. id params qparams)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue