diff --git a/website/src/helpers/get-framework-code.ts b/website/src/helpers/get-framework-code.ts index 6236174..048c090 100644 --- a/website/src/helpers/get-framework-code.ts +++ b/website/src/helpers/get-framework-code.ts @@ -28,7 +28,7 @@ export const getFrameworkCode = ( return `\nconst options: Options = ${stringify(codeOptions)};`; } if (lang === 'svelte') { - return `\let options = $state(${stringify(codeOptions)});`; + return `\nlet options = $state(${stringify(codeOptions)});`; } return `\nconst options = ${stringify(codeOptions)};`; };