mirror of
https://github.com/penpot/penpot.git
synced 2026-05-08 17:48:39 +00:00
24 lines
827 B
Clojure
24 lines
827 B
Clojure
;; This Source Code Form is subject to the terms of the Mozilla Public
|
|
;; License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
;;
|
|
;; This Source Code Form is "Incompatible With Secondary Licenses", as
|
|
;; defined by the Mozilla Public License, v. 2.0.
|
|
;;
|
|
;; Copyright (c) 2020 UXBOX Labs SL
|
|
|
|
(ns app.main.ui.context
|
|
(:require
|
|
[rumext.alpha :as mf]))
|
|
|
|
(def embed-ctx (mf/create-context false))
|
|
(def render-ctx (mf/create-context nil))
|
|
(def def-ctx (mf/create-context false))
|
|
(def ghost-ctx (mf/create-context false))
|
|
|
|
(def current-route (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))
|