     [cljs.reader :refer [read-string]]))
 
 (defonce state (atom {:page {:name :home}}))
+
+(declare fetch-global-page)
 
 (defn update-tweet
   [tweets id f & args]

                     "tweet__action--active")
            :onClick (fn [e]
                       (.preventDefault e)
                       (swap! state
                              update :tweets
                              update-tweet (:id tweet)
                              update :favorite? not))}
           [:span.star.tweet__action-icon]
           "Favorite"]]]))))


                                        (if (= page (:page state))
                                          (assoc-in state [:page :data] x)
                                          state)))))))

(defn fetch-global-page
  []
  (fetch-page (-> @state :page)))

(defn nav-link
  [opts & children]
