fix: logout

This commit is contained in:
Tienson Qin
2025-05-28 20:41:54 +08:00
parent f7d3798cce
commit db2073878b

View File

@@ -39,7 +39,11 @@
[:div.py-2
[:h2.py-3.flex.justify-between.items-center
[:strong.text-4xl.font-semibold (user-handler/username)]
(ion/button {:size "small" :mode "ios" :fill "outline" :color "danger"} "logout")]
(ion/button {:size "small"
:mode "ios"
:fill "outline"
:color "danger"
:on-click user-handler/logout} "logout")]
[:code (user-handler/email)]])))
(rum/defc page