refactor: set-editor-show-* should end with '!'

This commit is contained in:
Yukun Guo
2020-11-13 16:17:21 +08:00
parent 75392d254f
commit 6193f85499
6 changed files with 37 additions and 37 deletions

View File

@@ -117,7 +117,7 @@
(when show?
(reset! show? false))))
(clear-timestamp!)
(state/set-editor-show-date-picker false)))]]))
(state/set-editor-show-date-picker! false)))]]))
(rum/defc date-picker < rum/reactive
{:init (fn [state]
@@ -156,7 +156,7 @@
(util/format "[[%s]]" journal)
format
nil)
(state/set-editor-show-date-picker false))
(state/set-editor-show-date-picker! false))
(swap! *timestamp assoc :date date)))})
(when deadline-or-schedule?
(time-repeater))])))