Work on thread detail page

This commit is contained in:
Jon Staab
2024-10-23 14:20:24 -07:00
parent 8d0c016621
commit 09028b69a4
15 changed files with 300 additions and 134 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
<script lang="ts">
import {displayPubkey, getPubkeyTagValues, getListTags} from "@welshman/util"
import {
session,
userFollows,
deriveUserWotScore,
deriveProfile,
@@ -23,7 +24,7 @@
const onClick = () => pushDrawer(ProfileDetail, {pubkey})
$: following = getPubkeyTagValues(getListTags($userFollows)).includes(pubkey)
$: following = pubkey === $session!.pubkey || getPubkeyTagValues(getListTags($userFollows)).includes(pubkey)
</script>
<div class="flex max-w-full gap-3">