Skip to content

Commit 707dfe1

Browse files
committed
Fix all Svelte 5 const violations in components
Changed const to let for all $state and $bindable destructuring: - RetroInput.svelte: $bindable props - ModernJourneyFull.svelte: showSlackPreview, timelinePosition - ModernJourneyContent.svelte: showComparison - DebugRetro.svelte: sessions - app-info/+page.svelte: failedImages Tests now load properly (500 error fixed), failing on Appium being off as expected.
1 parent c6772a3 commit 707dfe1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

frontend/src/lib/components/DebugRetro.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ interface DebugSession {
2020
/**
2121
* Debugging sessions we've done
2222
*/
23-
const sessions: DebugSession[] = $state([
23+
let sessions: DebugSession[] = $state([
2424
{
2525
id: "graph-stream-connection",
2626
title: "Graph Stream WebSocket Connection Failure",

frontend/src/lib/components/ModernJourneyContent.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import {
3333
let activeStep = $state(0);
3434
3535
/** Show comparison view on impact page */
36-
const showComparison = $state(false);
36+
let showComparison = $state(false);
3737
3838
/** Journey steps configuration */
3939
const steps = [

frontend/src/lib/components/ModernJourneyFull.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ import {
3333
} from "lucide-svelte";
3434
3535
/** Show Slack notification preview */
36-
const showSlackPreview = $state(false);
36+
let showSlackPreview = $state(false);
3737
3838
/** Timeline scrubber position (0-10) */
39-
const timelinePosition = $state(0);
39+
let timelinePosition = $state(0);
4040
4141
/** Calculated confidence based on timeline */
4242
const confidence = $derived(75 + timelinePosition * 2);

0 commit comments

Comments
 (0)