Get rid of buggy open state

This commit is contained in:
PizZaKatZe
2021-12-20 12:50:43 +01:00
parent 3916d9c58e
commit 21b1313a18
4 changed files with 5 additions and 12 deletions
@@ -158,7 +158,7 @@ vim: ft=typescript
</div>
{/if}
{#if followRole === followRoles.open}
{#if followState === followStates.off}
<button
type="button"
class="nes-btn is-primary follow-menu-button"
@@ -175,7 +175,7 @@ vim: ft=typescript
on:click|preventDefault={reset}
title="Stop following"><img class="background-img" src={followImg} alt="" /></button
>
{:else if followUsers.length > 0}
{:else}
<button
type="button"
class="nes-btn is-error follow-menu-button"