mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-19 19:46:42 +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 {uniq, uniqBy, prop, map, propEq, indexBy, pluck} from 'ramda'
|
||||||
import {findReply, personKinds, findReplyId, Tags} from 'src/util/nostr'
|
import {findReply, personKinds, findReplyId, Tags} from 'src/util/nostr'
|
||||||
import {chunk} from 'hurdak/lib/hurdak'
|
import {chunk} from 'hurdak/lib/hurdak'
|
||||||
|
@ -139,7 +139,7 @@
|
|||||||
<Anchor type="button-circle" on:click={unfollow}>
|
<Anchor type="button-circle" on:click={unfollow}>
|
||||||
<i class="fa fa-user-minus" />
|
<i class="fa fa-user-minus" />
|
||||||
</Anchor>
|
</Anchor>
|
||||||
{:else}
|
{:else if $user}
|
||||||
<Anchor type="button-circle" on:click={follow}>
|
<Anchor type="button-circle" on:click={follow}>
|
||||||
<i class="fa fa-user-plus" />
|
<i class="fa fa-user-plus" />
|
||||||
</Anchor>
|
</Anchor>
|
||||||
|
Loading…
Reference in New Issue
Block a user