         (om/build main-template/template {:app app
                                           :main-content (om/build old-world-dominant-component-f app)})))))
 
-(defn nav-point->page []
+(def nav-point->page
   (merge
    ;; Page component functions, which are good as they are.
    {:build build/page

  Object
  (render [this]
    (let [app (:legacy/state (om-next/props this))
          page (get (nav-point->page) (:navigation-point app))]
      (when page
        (build-legacy page app)))))

          :build-state admin/build-state
          :switch admin/switch

          :landing (fn [app owner]
                     (reify
                       om/IRender
                       (render [_]
                         (om/build
                          (if (config/enterprise?) enterprise-landing/home landing/home)
                          app))))

          :error errors/error-page})))

