Skip to content

Commit 5c1dafc

Browse files
committed
Svelte 5 compatibility fix for test
1 parent fa3800c commit 5c1dafc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/routes/(v1)/dates/+page.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
return output;
2323
});
2424
25+
$: isValid = $valid;
26+
2527
async function log(data: Record<string, string | Date>) {
2628
logs.update((logs) => [...logs, schemaToStr(data)]);
2729
}
@@ -78,7 +80,7 @@
7880
</tr>
7981
{/each}
8082
<tr>
81-
{#each Object.values($valid) as valid}
83+
{#each Object.values(isValid) as valid}
8284
<td class="result" class:valid>{valid ? 'OK' : 'Mismatch'}</td>
8385
{/each}
8486
</tr>

0 commit comments

Comments
 (0)