-;; Functions for rendering state to screen
+;; Functions for rendering state to screen)
 (ns robinson.ui.components.robinson
   (:require 
             [taoensso.timbre :as log]

    (async/<! (async/timeout (rand-nth [1200 600])))
    (recur (update tidbit-freqs n inc))))

(zc/def-component Loading
  [this]
  (let [{:keys [state]} (zc/props this)]

                [:text {} [""]]
                [:text {:style {:left -6}} [(format "Generating %s..." (nth loading-tidbits @tidbit-index))]]
                [:text {} [""]]
                [:text {:style {:left 3}} [(first @spinner-chars)]]]]]]]]]]]])))

(zc/def-component Connecting
  [this]
