mirror of
https://github.com/penpot/penpot.git
synced 2026-05-30 04:08:08 +00:00
🐛 Fix navigate to admin console after subscription (#9848)
This commit is contained in:
parent
f3f697b4a2
commit
57d47f8e5e
@ -79,6 +79,8 @@
|
||||
|
||||
(def go-to-subscription-url (u/join cf/public-uri "#/settings/subscriptions"))
|
||||
|
||||
(def go-to-ac-url "/admin-console/")
|
||||
|
||||
(defn go-to-nitrate-billing
|
||||
[]
|
||||
(let [href (dm/str "/admin-console/licenses/billing?callback=" (js/encodeURIComponent go-to-subscription-url))]
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
on-click
|
||||
(mf/use-fn
|
||||
(fn []
|
||||
(dnt/go-to-buy-nitrate-license "monthly" dnt/go-to-subscription-url)))
|
||||
(dnt/go-to-buy-nitrate-license "monthly" dnt/go-to-ac-url)))
|
||||
|
||||
on-activate-click
|
||||
(mf/use-fn
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user