fix(web): preload local, preload if logged out

This commit is contained in:
əlemi 2024-05-29 18:04:27 +02:00
parent 1cc41cced3
commit 91316c99af
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -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">