Add default case
This commit is contained in:
parent
9259999367
commit
9928bf33a9
@ -47,7 +47,8 @@
|
|||||||
(defn handle-window-message [e]
|
(defn handle-window-message [e]
|
||||||
(let [msg (.-data (.getBrowserEvent e))]
|
(let [msg (.-data (.getBrowserEvent e))]
|
||||||
(case (.-type msg)
|
(case (.-type msg)
|
||||||
"closeSidebar" (close-sidebar))))
|
"closeSidebar" (close-sidebar)
|
||||||
|
nil)))
|
||||||
|
|
||||||
(-> js/browser
|
(-> js/browser
|
||||||
(.-runtime)
|
(.-runtime)
|
||||||
|
Loading…
Reference in New Issue
Block a user