♻️ Refactor workspace initialization.

And fix comment positioning when coment is
in a different page.
This commit is contained in:
Andrey Antukh 2020-10-22 19:15:11 +02:00 committed by Hirunatan
parent 3379eed38e
commit d59622cd5f
10 changed files with 132 additions and 134 deletions

View file

@ -12,5 +12,9 @@
[rumext.alpha :as mf]))
(def embed-ctx (mf/create-context false))
(def render-ctx (mf/create-context nil))
(def current-team-id (mf/create-context nil))
(def current-project-id (mf/create-context nil))
(def current-page-id (mf/create-context nil))
(def current-file-id (mf/create-context nil))