Fix more stuff, particularly event handlers

This commit is contained in:
Jon Staab
2025-02-03 17:21:46 -08:00
parent 8d3433b167
commit 24045a7e2a
150 changed files with 424 additions and 392 deletions
+4 -4
View File
@@ -22,7 +22,7 @@
import {pushModal} from "@app/modal"
import {makeChatPath} from "@app/routes"
let {pubkey} = $props()
const {pubkey} = $props()
const profile = deriveProfile(pubkey)
const profileDisplay = deriveProfileDisplay(pubkey)
@@ -35,7 +35,7 @@
const openChat = () => ($canDecrypt ? goto(chatPath) : pushModal(ChatEnable, {next: chatPath}))
let following = $derived(
const following = $derived(
pubkey === $session!.pubkey || getPubkeyTagValues(getListTags($userFollows)).includes(pubkey),
)
</script>
@@ -59,7 +59,7 @@
</div>
<ProfileInfo {pubkey} />
<ModalFooter>
<Button on:click={back} class="btn btn-link">
<Button onclick={back} class="btn btn-link">
<Icon icon="alt-arrow-left" />
Go back
</Button>
@@ -68,7 +68,7 @@
<Icon icon="user-circle" />
See Complete Profile
</Link>
<Button on:click={openChat} class="btn btn-primary">
<Button onclick={openChat} class="btn btn-primary">
<Icon icon="letter" />
Open Chat
</Button>