refactor: state setters should end with '!'

This commit is contained in:
Yukun Guo
2020-11-13 16:16:30 +08:00
parent d9e81bb15d
commit 75392d254f
5 changed files with 8 additions and 8 deletions

View File

@@ -1306,7 +1306,7 @@
(cond
(>= selected-blocks-count 2) ; back to the start block
(do
(when (= 2 selected-blocks-count) (state/set-selection-up? nil))
(when (= 2 selected-blocks-count) (state/set-selection-up! nil))
(clear-last-selected-block!))
:else