migrate: switch to callbacks instead of events

This commit is contained in:
Xylight committed 2024-10-26 11:36:31 -07:00
1 parent c7e2963390
commit b291aeebf8
67 files changed
+332 -357

No files matched your search

@@ -98,7 +98,7 @@
</div>
</a>
<div class="flex flex-row items-center gap-2">
<Button size="square-md" on:click={() => (showInfo = !showInfo)}>
<Button size="square-md" onclick={() => (showInfo = !showInfo)}>
<Icon src={InformationCircle} size="16" micro />
</Button>
<Subscribe {community}>
@@ -106,7 +106,7 @@
<Button
disabled={subscribing || !$profile?.jwt}
loading={subscribing}
on:click={async () => {
onclick={async () => {
const res = await subscribe()
if (res) {