Skip to content

Commit

Permalink
fin
Browse files Browse the repository at this point in the history
  • Loading branch information
flexsurfer committed Jun 26, 2024
1 parent 141c1a3 commit 189d3c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/keycard/keycard.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@

(defn remove-event-listener
[^js event]
(.remove event))
(when event
(.remove event)))

(defn on-card-connected
[callback]
Expand Down

0 comments on commit 189d3c6

Please sign in to comment.