migrate: switch to callbacks instead of events
This commit is contained in:
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') })
|
||||
|
||||
Reference in new issue
Block a user