diff --git a/web/src/actors/follow.rs b/web/src/actors/follow.rs
index 50432e1..6be754f 100644
--- a/web/src/actors/follow.rs
+++ b/web/src/actors/follow.rs
@@ -27,11 +27,13 @@ pub fn FollowList(outgoing: bool) -> impl IntoView {
}
);
view! {
- {symbol}" "{follow___}
could not load {follow___}: {e}
}.into_view(), + Some(Err(e)) => { + tracing::error!("could not load followers: {e}"); + view! {{follow___}" unavailable"
}.into_view()
+ },
Some(Ok(mut arr)) => {
// TODO cheap fix: server gives us follows from oldest to newest
// but it's way more convenient to have them other way around
diff --git a/web/src/actors/header.rs b/web/src/actors/header.rs
index e6d7b7c..c2b2bbb 100644
--- a/web/src/actors/header.rs
+++ b/web/src/actors/header.rs
@@ -1,6 +1,6 @@
use leptos::*;
use leptos_router::*;
-use crate::{getters::Getter, prelude::*, FALLBACK_IMAGE_URL};
+use crate::{app::FeedRoute, getters::Getter, prelude::*, FALLBACK_IMAGE_URL};
use apb::{ActivityMut, Actor, Base, Object, ObjectMut, Shortcuts};
@@ -8,6 +8,7 @@ use apb::{ActivityMut, Actor, Base, Object, ObjectMut, Shortcuts};
pub fn ActorHeader() -> impl IntoView {
let params = use_params::+ + "🖂 ""statuses" + + + "📢 ""followers" + + + "👥 ""following" + +
+
- "🖂"" "posts
-