fix: profile follow/unfollow buttons

This commit is contained in:
trisua 2025-05-18 21:17:56 -04:00
parent c74f36b97c
commit a4481bea5c

View file

@ -171,7 +171,7 @@
{% if not is_blocking -%}
<button
onclick="toggle_follow_user(event)"
class="{% if is_following -%} hidden{%- endif %}"
class="{% if is_following %} hidden{% endif %}"
atto_tag="user.follow"
>
{{ icon "user-plus" }}
@ -180,7 +180,7 @@
<button
onclick="toggle_follow_user(event)"
class="quaternary red{% if not is_following -%} hidden{%- endif %}"
class="quaternary red{% if not is_following %} hidden{% endif %}"
atto_tag="user.unfollow"
>
{{ icon "user-minus" }}