Skip to content

Commit 059ab8c

Browse files
committed
Actually destructure prevent-default-when-no-match?
1 parent 5a0f6f0 commit 059ab8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pushy/core.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
* match-fn: the function used to check if a particular route exists
6060
* identity-fn: (optional) extract the route from value returned by match-fn"
6161
[dispatch-fn match-fn &
62-
{:keys [processable-url? identity-fn]
62+
{:keys [processable-url? identity-fn prevent-default-when-no-match?]
6363
:or {processable-url? processable-url?
6464
identity-fn identity
6565
prevent-default-when-no-match? (constantly false)}}]

0 commit comments

Comments
 (0)