0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-08 08:09:14 -05:00

Merge remote-tracking branch 'origin/main' into staging

This commit is contained in:
Alejandro Alonso 2024-09-11 12:05:21 +02:00
commit d108ad904e

View file

@ -145,9 +145,9 @@
(if (and (= :authorization (:type data))
(= :challenge-required (:code data)))
(let [path (rt/get-current-path)
href (-> path
(str "/challenge.html?redirect=")
(js/encodeURIComponent))]
href (->> path
(str "/challenge.html?redirect=")
(js/encodeURIComponent))]
(rx/of (rt/nav-raw href)))
(rx/throw cause))))