fix: remove top right button in settings. #1123

This commit is contained in:
Eduard Aymerich 2021-08-02 23:37:49 +02:00 committed by Andrés Moya
parent 3fbd73129e
commit 0b698576da

View file

@ -23,9 +23,7 @@
(let [logout (constantly nil)] (let [logout (constantly nil)]
[:header.dashboard-header [:header.dashboard-header
[:div.dashboard-title [:div.dashboard-title
[:h1 (tr "dashboard.your-account-title")]] [:h1 (tr "dashboard.your-account-title")]]]))
[:a.btn-secondary.btn-small {:on-click logout}
(tr "labels.logout")]]))
(mf/defc settings (mf/defc settings
[{:keys [route] :as props}] [{:keys [route] :as props}]