diff --git a/web/src/actors/header.rs b/web/src/actors/header.rs index 3a985cb..e6d7b7c 100644 --- a/web/src/actors/header.rs +++ b/web/src/actors/header.rs @@ -64,36 +64,20 @@ pub fn ActorHeader() -> impl IntoView {
// TODO bad way to have it fixed height ewwww
- - - - - - - - - - - - - - - -
- - - {name}{actor_type_tag} - - {actor.statuses_count().want()}" ""\u{1f582}" -
- {username.clone()}@{domain} - - {actor.following_count().want()}" ""👥" -
- - - {actor.followers_count().want()}" ""📢" -
+
+ + +
+ {name}{actor_type_tag}
+ {username.clone()}@{domain}
+ +
+
+ {actor.statuses_count().unwrap_or_default()}" ""\u{1f582}"
+ {actor.following_count().unwrap_or_default()}" ""👥"
+ {actor.followers_count().unwrap_or_default()}" ""📢" +
+
{if following_me { Some(view! { follows you })