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

+3 -3
View File
@@ -17,7 +17,7 @@
<p>
{post}
</p>
<Button on:click={() => (post = placeholders.get('post'))} class="w-max">
<Button onclick={() => (post = placeholders.get('post'))} class="w-max">
Generate
</Button>
@@ -25,7 +25,7 @@
<p>
{comment}
</p>
<Button on:click={() => (comment = placeholders.get('comment'))} class="w-max">
<Button onclick={() => (comment = placeholders.get('comment'))} class="w-max">
Generate
</Button>
@@ -33,6 +33,6 @@
<p>
{url}
</p>
<Button on:click={() => (url = placeholders.get('url'))} class="w-max">
<Button onclick={() => (url = placeholders.get('url'))} class="w-max">
Generate
</Button>