mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
15 lines
361 B
Text
15 lines
361 B
Text
|
(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 {}}))
|