Skip to content

Commit 6654afe

Browse files
committed
change dummy TS code
1 parent 0e27bef commit 6654afe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/lib/state/language.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@ export const languages: Record<LanguageName, Language> = {
1919
text: `
2020
// Click on the code to change the color
2121
// Or use the sidebar to the right :)
22-
import { createHighlighter } from 'shiki'
23-
22+
// You can also edit the code here and paste your own.
2423
24+
import { createHighlighter } from 'shiki'
25+
import { type VariantProps, tv } from "tailwind-variants"
26+
import type { Button as ButtonPrimitive } from "bits-ui"
27+
import Root from "./button.svelte"
2528
2629
// \`createHighlighter\` is async, it initializes the internal and
2730
// loads the themes and languages specified.
@@ -41,9 +44,6 @@ const code = highlighter.codeToHtml('const a = 1', {
4144
theme: 'nord'
4245
})
4346
44-
import { type VariantProps, tv } from "tailwind-variants"
45-
import type { Button as ButtonPrimitive } from "bits-ui"
46-
import Root from "./button.svelte"
4747
4848
const buttonVariants = tv({
4949
base: "",

0 commit comments

Comments
 (0)