0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00
penpot/frontend/uxbox/state.cljs

15 lines
361 B
Text
Raw Normal View History

2015-06-18 19:35:50 +02:00
(ns uxbox.state
(:require [uxbox.rstore :as rs]
[beicon.core :as rx]))
(defonce stream
(rs/init {}))
(defonce state (atom {}))
(rx/to-atom stream state)
(rs/emit! (rs/reset-state {:location :auth/login
:location-params nil
:projects-by-id {}
:pages-by-id {}}))