0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 06:58:58 -05:00

fix(frontend): fix wrong arity decl on navigate function

This commit is contained in:
Andrey Antukh 2019-07-03 18:02:54 +02:00
parent 9a313752c5
commit adfd40cde7

View file

@ -95,8 +95,8 @@
(navigate! router id params qparams))))
(defn nav
([id] (navigate id nil nil))
([id params] (navigate id params nil))
([id] (nav id nil nil))
([id params] (nav id params nil))
([id params qparams]
{:pre [(keyword? id)]}
(Navigate. id params qparams)))