Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hatemhosny committed Dec 13, 2024
1 parent b125d6c commit bfd56ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/helpers/get-framework-code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)};`;
};
Expand Down

0 comments on commit bfd56ae

Please sign in to comment.