From 7fe95f218b7a805a5c650f726e9a1f531ffc0e1e Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Mon, 23 Sep 2024 10:30:31 +0200 Subject: [PATCH] :bug: Fix logged in redirect --- frontend/src/app/main/data/users.cljs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/main/data/users.cljs b/frontend/src/app/main/data/users.cljs index 7b017f5082..9a0cd7b807 100644 --- a/frontend/src/app/main/data/users.cljs +++ b/frontend/src/app/main/data/users.cljs @@ -172,12 +172,12 @@ (letfn [(get-redirect-events [] (let [team-id (get-current-team-id profile) welcome-file-id (dm/get-in profile [:props :welcome-file-id]) - redirect-href (:login-redirect @s/session)] + redirect-href (::login-redirect storage/session)] (cond (some? redirect-href) - (binding [s/*sync* true] - (swap! s/session dissoc :login-redirect) + (binding [storage/*sync* true] + (swap! storage/session dissoc ::login-redirect) (rx/of (rt/nav-raw :href redirect-href))) (some? welcome-file-id)