Fix unfollow when not logged in

This commit is contained in:
Jonathan Staab 2023-02-13 13:20:48 -06:00
parent 2c9ff7bac0
commit 0905ecf275
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
import type {MyEvent} from 'src/util/types'
import {uniq, uniqBy, prop, map, propEq, indexBy, pluck} from 'ramda'
import {findReply, personKinds, findReplyId, Tags} from 'src/util/nostr'
import {chunk} from 'hurdak/lib/hurdak'

View File

@ -139,7 +139,7 @@
<Anchor type="button-circle" on:click={unfollow}>
<i class="fa fa-user-minus" />
</Anchor>
{:else}
{:else if $user}
<Anchor type="button-circle" on:click={follow}>
<i class="fa fa-user-plus" />
</Anchor>