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

@@ -68,7 +68,7 @@
{/each}
<MenuDivider>{$t('post.actions.link.actions')}</MenuDivider>
<MenuButton
on:click={() => {
onclick={() => {
navigator?.share?.({ url: url }) ?? navigator?.clipboard?.writeText?.(url)
toast({ content: $t('toast.copied') })