mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 15:09:10 -05:00
🔥 Remove goodbye page (useless).
This commit is contained in:
parent
53be7feee1
commit
1eff1c94c4
3 changed files with 2 additions and 10 deletions
|
@ -63,8 +63,7 @@
|
|||
["/register" :auth-register]
|
||||
["/recovery/request" :auth-recovery-request]
|
||||
["/recovery" :auth-recovery]
|
||||
["/verify-token" :auth-verify-token]
|
||||
["/goodbye" :auth-goodbye]]
|
||||
["/verify-token" :auth-verify-token]]
|
||||
|
||||
["/settings"
|
||||
["/profile" :settings-profile]
|
||||
|
@ -111,7 +110,6 @@
|
|||
(case (get-in route [:data :name])
|
||||
(:auth-login
|
||||
:auth-register
|
||||
:auth-goodbye
|
||||
:auth-recovery-request
|
||||
:auth-recovery)
|
||||
[:& auth {:route route}]
|
||||
|
|
|
@ -29,11 +29,6 @@
|
|||
[cljs.spec.alpha :as s]
|
||||
[rumext.alpha :as mf]))
|
||||
|
||||
(mf/defc goodbye-page
|
||||
[{:keys [locale] :as props}]
|
||||
[:div.goodbay
|
||||
[:h1 (t locale "auth.goodbye-title")]])
|
||||
|
||||
(mf/defc auth
|
||||
[{:keys [route] :as props}]
|
||||
(let [section (get-in route [:data :name])
|
||||
|
@ -49,7 +44,6 @@
|
|||
(case section
|
||||
:auth-register [:& register-page {:locale locale :params params}]
|
||||
:auth-login [:& login-page {:locale locale :params params}]
|
||||
:auth-goodbye [:& goodbye-page {:locale locale}]
|
||||
:auth-recovery-request [:& recovery-request-page {:locale locale}]
|
||||
:auth-recovery [:& recovery-page {:locale locale
|
||||
:params (:query-params route)}])]]))
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
(defn on-success
|
||||
[x]
|
||||
(st/emit! (rt/nav :auth-goodbye)))
|
||||
(st/emit! (rt/nav :auth-login)))
|
||||
|
||||
(mf/defc delete-account-modal
|
||||
{::mf/register modal/components
|
||||
|
|
Loading…
Add table
Reference in a new issue