We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edb9f91 commit 71866e5Copy full SHA for 71866e5
2 files changed
src/main/frontend/components/user/login.cljs
@@ -45,8 +45,8 @@
45
(fn []
46
(when session
47
(user/login-callback session)
48
- (notification/show! (str "Hi, " username " :)") :success)
49
(shui/dialog-close!)
+ (shui/popup-hide!)
50
(when (= :user-login (state/get-current-route))
51
(route-handler/redirect! {:to :home}))))
52
[])
src/main/mobile/components/settings.cljs
@@ -26,11 +26,12 @@
26
(shui/button
27
{:variant :default
28
:class "text-1xl flex flex-1 w-full my-8"
29
- :on-click #(shui/dialog-open! login/page-impl
30
- {:close-btn? false
31
- :label "user-login"
32
- :align :top
33
- :content-props {:class "app-login-modal"}})}
+ :on-click #(shui/popup-show!
+ nil
+ (fn []
+ [:div.w-full.h-full
+ (login/page-impl)])
34
+ {:id :login})}
35
"Login")
36
;; Logged in: account cell
37
[:div.mobile-setting-item
0 commit comments