mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 16:00:19 -05:00
17 lines
421 B
Clojure
17 lines
421 B
Clojure
(ns uxbox.state
|
|
(:require [beicon.core :as rx]
|
|
[uxbox.rstore :as rs]))
|
|
|
|
(enable-console-print!)
|
|
|
|
(defonce state (atom {}))
|
|
|
|
(defonce stream
|
|
(rs/init {:user {:fullname "Cirilla"
|
|
:avatar "http://lorempixel.com/50/50/"}
|
|
:dashboard {:section :dashboard/projects}
|
|
:workspace {}
|
|
:projects-by-id {}
|
|
:pages-by-id {}}))
|
|
|
|
(rx/to-atom stream state)
|