From bfd56aec2ccb662e971bf31fcc44782286f53d79 Mon Sep 17 00:00:00 2001 From: Hatem Hosny Date: Fri, 13 Dec 2024 21:14:47 +0200 Subject: [PATCH] fix --- website/src/helpers/get-framework-code.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)};`; };