enhance: subscribe to id-token for reactive change

pull/7379/head^2
Tienson Qin 2022-11-21 16:31:49 +08:00
parent 1093fe272e
commit 3210d17881
1 changed files with 1 additions and 1 deletions

View File

@ -1872,7 +1872,7 @@ Similar to re-frame subscriptions"
(set-state! :auth/access-token access-token))
(defn get-auth-id-token []
(:auth/id-token @state))
(sub :auth/id-token))
(defn get-auth-refresh-token []
(:auth/refresh-token @state))