fix(web): preload local, preload if logged out
This commit is contained in:
parent
1cc41cced3
commit
91316c99af
1 changed files with 5 additions and 1 deletions
|
@ -59,9 +59,13 @@ pub fn App() -> impl IntoView {
|
||||||
}
|
}
|
||||||
|
|
||||||
server_tl.more(auth);
|
server_tl.more(auth);
|
||||||
|
local_tl.more(auth);
|
||||||
if auth_present { home_tl.more(auth) };
|
if auth_present { home_tl.more(auth) };
|
||||||
})
|
})
|
||||||
};
|
} else {
|
||||||
|
server_tl.more(auth);
|
||||||
|
local_tl.more(auth);
|
||||||
|
}
|
||||||
|
|
||||||
view! {
|
view! {
|
||||||
<nav class="w-100 mt-1 mb-1 pb-s">
|
<nav class="w-100 mt-1 mb-1 pb-s">
|
||||||
|
|
Loading…
Reference in a new issue