diff --git a/web/src/actors/header.rs b/web/src/actors/header.rs index 4865450c..05842c27 100644 --- a/web/src/actors/header.rs +++ b/web/src/actors/header.rs @@ -85,16 +85,19 @@ pub fn ActorHeader() -> impl IntoView {
following
}.into_view()
- } else {
- view! { }.into_view()
- }}
{if following_me {
- Some(view! { follows you
})
+ Some(view! { follows you
})
} else {
None
}}
+ {if followed_by_me {
+ view! {
+ "following"
+
+ }.into_view()
+ } else {
+ view! { }.into_view()
+ }}