Skip to content

Commit 0f3979b

Browse files
authored
Update stackblitz.svelte
1 parent 78d3abd commit 0f3979b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/components/stackblitz.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
export let theme: string | 'light' | 'dark' | 'default' = 'dark'
1212
export let file: string | undefined
1313
14-
let baseUrl = "https://stackblitz.com/edit/vitejs-vite-yyoood?embed=1"
14+
let baseUrl = `https://stackblitz.com/edit/${id}?embed=1
1515
const config = {
1616
ctl: `${clickToLoad ? 1 : 0}`,
1717
hideExplorer: `${hideExplorer ? 1 : 0}`,
@@ -40,4 +40,4 @@
4040
width: 100%;
4141
`}
4242
/>
43-
</GeneralObserver>
43+
</GeneralObserver>

0 commit comments

Comments
 (0)