 
 (def loader (atom false))
 
-(defn get-initial-state
+(defn- get-initial-state
   []
   {:dashboard {:project-order :name
                :project-filter ""}

  (:require [beicon.core :as rx]
            [lentes.core :as l]
            [uxbox.rstore :as rs]
            [uxbox.util.storage :refer (storage)]))

(defonce state (atom {}))


   :projects-by-id {}
   :pages-by-id {}})

(defn- on-error
  [error]
  ;; Disable loader in case of error.
  (reset! loader false))

(rs/add-error-watcher :test on-error)

(defonce stream
  (rs/init (get-initial-state)))

