Fix deprecated on:click
Some checks failed
Build Docker image / build (push) Failing after 43s
Build Docker image / deploy (push) Has been skipped
Build Docker image / verify (push) Has been skipped

This commit is contained in:
Roman Krček
2025-06-28 00:33:44 +02:00
parent a7262f9815
commit 2d7feea623
6 changed files with 6 additions and 6 deletions

View File

@@ -66,7 +66,7 @@ async function sendTestEmail() {
{#if !authorized}
<div class="mb-4 flex items-center justify-between">
<p class="text-gray-700">Google not connected.</p>
<button class="btn bg-blue-600 hover:bg-blue-700 text-white font-semibold py-2 px-4 rounded ml-auto" on:click={connect}>
<button class="btn bg-blue-600 hover:bg-blue-700 text-white font-semibold py-2 px-4 rounded ml-auto" onclick={connect}>
Connect Google
</button>
</div>

View File

@@ -59,7 +59,7 @@
{#if !authorized}
<section class="flex items-center justify-between w-full">
<p class="mr-4">You havent connected your Google account yet.</p>
<button class="btn bg-blue-600 hover:bg-blue-700 text-white font-semibold py-2 px-4 rounded ml-auto" on:click={connect}>
<button class="btn bg-blue-600 hover:bg-blue-700 text-white font-semibold py-2 px-4 rounded ml-auto" onclick={connect}>
Connect Google
</button>
</section>

View File

@@ -52,7 +52,7 @@
{:else}
<button
class="mb-4 w-full rounded bg-blue-600 py-2 text-white transition hover:bg-blue-700"
on:click={showEditForm}
onclick={showEditForm}
aria-label="Edit email"
>
Edit email

View File

@@ -61,7 +61,7 @@
{#if !showForm}
<button
class="mb-4 w-full rounded bg-blue-600 py-2 text-white transition hover:bg-blue-700"
on:click={showEditForm}
onclick={showEditForm}
aria-label="Edit event"
>
Edit the event

View File

@@ -67,7 +67,7 @@
{:else}
<button
class="w-full rounded bg-blue-600 py-2 text-white transition hover:bg-blue-700"
on:click={showEditForm}
onclick={showEditForm}
aria-label="Edit participants"
>
Edit participants