fixed login loop.
This commit is contained in:
@@ -144,8 +144,9 @@
|
||||
(let [ap (re-frame/subscribe [::subs/active-page])
|
||||
current-client @(re-frame/subscribe [::subs/client])
|
||||
is-loading? @(re-frame/subscribe [::subs/is-initial-loading?])]
|
||||
(if is-loading?
|
||||
[loading-layout]
|
||||
|
||||
[:div
|
||||
^{:key (str @ap "-" current-client)} [page @ap]])))
|
||||
(when @ap
|
||||
(if is-loading?
|
||||
[loading-layout]
|
||||
|
||||
[:div
|
||||
^{:key (str @ap "-" current-client)} [page @ap]]))))
|
||||
|
||||
Reference in New Issue
Block a user