Fixed warnings from svelte about mutability

This commit is contained in:
Roman Krček
2025-07-08 13:24:17 +02:00
parent 4d71bf5410
commit 39bd172798
5 changed files with 8 additions and 8 deletions

View File

@@ -417,13 +417,13 @@
<!-- Step Content -->
<div class="rounded-lg border border-gray-300 bg-white p-6 mb-6">
{#if currentStep === 0}
<GoogleAuthStep {authData} {errors} {connectToGoogle} {cancelGoogleAuth} {disconnectGoogle} />
<GoogleAuthStep bind:authData bind:errors {connectToGoogle} {cancelGoogleAuth} {disconnectGoogle} />
{:else if currentStep === 1}
<EventDetailsStep {eventData} {errors} />
<EventDetailsStep bind:eventData bind:errors />
{:else if currentStep === 2}
<GoogleSheetsStep {sheetsData} {errors} {loadRecentSheets} {selectSheet} {toggleSheetList} />
<GoogleSheetsStep bind:sheetsData bind:errors {loadRecentSheets} {selectSheet} {toggleSheetList} />
{:else if currentStep === 3}
<EmailSettingsStep {emailData} {errors} />
<EmailSettingsStep bind:emailData bind:errors />
{/if}
{#if errors.submit}