mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 07:29:08 -05:00
14 lines
361 B
Clojure
14 lines
361 B
Clojure
(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 {}}))
|