fix: git diff shows empty or always loading

Resolved #218, #217, #171
This commit is contained in:
Tienson Qin
2020-11-24 20:27:19 +08:00
parent f25844a833
commit 89fa24a81b
4 changed files with 130 additions and 110 deletions

View File

@@ -867,6 +867,7 @@
[]
(:commands (get-config)))
;; TODO: Move those to the uni `state`
(defonce editor-op (atom nil))
(defn set-editor-op!
[value]
@@ -874,3 +875,5 @@
(defn get-editor-op
[]
@editor-op)
(defonce diffs (atom nil))