Browse Source

fix: fix err log condition

rcmerci 3 weeks ago
parent
commit
bf99e6818b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/persist_db/browser.cljs

+ 1 - 1
src/main/frontend/persist_db/browser.cljs

@@ -42,7 +42,7 @@
               (m/ap
                 (let [m (m/?> (m/relieve state-flow))]
                   (when (and (contains? m :git/current-repo)
-                             (:git/current-repo m nil))
+                             (nil? (:git/current-repo m)))
                     (log/error :sync-app-state
                                [m (select-keys @state/state
                                                [:git/current-repo