Skip to content

Commit a254ccf

Browse files
committed
Fix CI check due to <script> in string
1 parent f4d14f7 commit a254ccf

File tree

1 file changed

+2
-2
lines changed
  • sites/docs/src/routes/docs/svelte-state/MediaQueryPresets

1 file changed

+2
-2
lines changed

sites/docs/src/routes/docs/svelte-state/MediaQueryPresets/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
<h1>Usage</h1>
2828

2929
<Code
30-
source={`<script>
30+
source={'<' +
31+
`script>
3132
import { MediaQueryPresets } from '@layerstack/svelte-state';
3233
const { mdScreen, print} = new MediaQueryPresets();
3334
</script>
@@ -39,7 +40,6 @@
3940
{#if print.current}
4041
<div>Only visable when printing</div>
4142
{/if}`}
42-
`}
4343
language="svelte"
4444
/>
4545

0 commit comments

Comments
 (0)