Commit 4bb4cea1 authored by Ricardo J. Mendez's avatar Ricardo J. Mendez

Using when-not

parent 2a30acac
...@@ -389,7 +389,7 @@ ...@@ -389,7 +389,7 @@
(if replacing? (if replacing?
(do (do
(dispatch [:handle-deactivation active-tab]) (dispatch [:handle-deactivation active-tab])
(when (not is-none?) (when-not is-none?
(alarms/clear window-alarm) (alarms/clear window-alarm)
(go (dispatch [:handle-activation (go (dispatch [:handle-activation
(first (<! (tabs/query {:active true :windowId windowId})))]))) (first (<! (tabs/query {:active true :windowId windowId})))])))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment