1
0
Fork 0
forked from alemi/upub

chore(web): retabbed

This commit is contained in:
əlemi 2024-05-03 06:14:55 +02:00
parent 188dd7ee81
commit dd0c354aed
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -215,12 +215,12 @@ pub fn ObjectPage(tl: Timeline) -> impl IntoView {
class="clean ml-1" href="#" class="clean ml-1" href="#"
class:hidden=move || tl.is_empty() class:hidden=move || tl.is_empty()
on:click=move |_| { on:click=move |_| {
tl.reset(tl.next.get().split('?').next().unwrap_or_default().to_string()); tl.reset(tl.next.get().split('?').next().unwrap_or_default().to_string());
spawn_local(async move { spawn_local(async move {
if let Err(e) = tl.more(auth).await { if let Err(e) = tl.more(auth).await {
tracing::error!("error fetching more items for timeline: {e}"); tracing::error!("error fetching more items for timeline: {e}");
} }
}) })
}><span class="emoji"> }><span class="emoji">
"\u{1f5d8}" "\u{1f5d8}"
</span></a> </span></a>