mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-19 11:43:35 +00:00
Fix unfollow when not logged in
This commit is contained in:
parent
2c9ff7bac0
commit
0905ecf275
@ -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'
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user