(defn profile [_]
(if-let [{:keys [login created_at profile]} @(rf/subscribe [:auth/user])]
…
[:div.content
[:div {:style {:width “100%”}}
[:progress.progress.is-dark {:max 100} “30%”]]]))
When user stays on edit-profile page and performs logout, the css progress content will be shown.
Perhaps the message-list and message-form can be shown instead.
- Is there a way to navigate to / in cljs? By reitit?
- Pulling in message-list and message-form components from ns messages seems not natural.