(ns braid.users.core
  (:require
   [braid.core.api :as core]
   #?@(:cljs
       [[braid.users.client.views.users-page :as views]])))

(defn init! []
  #?(:cljs
     (do
       (core/register-group-page!
        {:key :users
         :view views/users-page-view}))))

(ns braid.users.core
  (:require
   [braid.core.api :as core]
   #?@(:cljs
       [[braid.users.client.views.users-page :as views]
        [braid.core.client.routes :as routes]])))



(defn init! []
  #?(:cljs
     (do
       (core/register-group-page!
        {:key :users
         :view views/users-page-view})
       (core/register-admin-header-item!
        {:class "users"
         :route-fn routes/group-page-path
         :route-args {:page-id "users"}
         :body "Users"}))))

Make menu item a hook
Make menu item a hook

braidchat/braid,braidchat/braid,rafd/braid,rafd/braid