Skip to content

Commit 62237e3

Browse files
authored
Fix template literals in WelcomeModal.svelte
1 parent 4241f58 commit 62237e3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/lib/components/WelcomeModal.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
onMount(async () => {
2828
try {
2929
// Fetch manifest (just a list of filenames)
30-
const manifestRes = await fetch('{base}/examples/manifest.json');
30+
const manifestRes = await fetch(`${base}/examples/manifest.json`);
3131
if (!manifestRes.ok) throw new Error('No manifest');
3232
const manifest = await manifestRes.json();
3333
const files: string[] = manifest.files || [];
@@ -36,12 +36,12 @@
3636
const loadedExamples: Example[] = [];
3737
for (const filename of files) {
3838
try {
39-
const fileRes = await fetch(`{base}/examples/${filename}`);
39+
const fileRes = await fetch(`${base}/examples/${filename}`);
4040
if (fileRes.ok) {
4141
const data = await fileRes.json();
4242
loadedExamples.push({
4343
name: data.metadata?.name || filename.replace('.json', ''),
44-
file: `{base}/examples/${filename}`,
44+
file: `${base}/examples/${filename}`,
4545
nodeCount: data.graph?.nodes?.length || 0,
4646
description: data.metadata?.description
4747
});

0 commit comments

Comments
 (0)