Add default case

This commit is contained in:
Jeremy Dormitzer 2018-02-04 08:56:49 -05:00
parent 9259999367
commit 9928bf33a9
No known key found for this signature in database
GPG Key ID: 04F17C0F5A32C320

View File

@ -47,7 +47,8 @@
(defn handle-window-message [e]
(let [msg (.-data (.getBrowserEvent e))]
(case (.-type msg)
"closeSidebar" (close-sidebar))))
"closeSidebar" (close-sidebar)
nil)))
(-> js/browser
(.-runtime)