Skip to content

Commit 83aa90f

Browse files
committed
Fix build
1 parent 970ae27 commit 83aa90f

2 files changed

Lines changed: 6 additions & 11 deletions

File tree

docs/src/examples/components/AnnotationLine/horizontal.svelte

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
1-
<script module>
2-
export const layers = ['svg', 'canvas'];
3-
</script>
4-
51
<script module lang="ts">
62
import { getAppleStock } from '$lib/data.remote';
73
const data = await getAppleStock();
4+
5+
export const layers = ['svg', 'canvas'];
86
</script>
97

108
<script lang="ts">
119
import { AnnotationLine, LineChart } from 'layerchart';
1210
13-
1411
export { data };
1512
</script>
1613

docs/src/examples/components/Trail/tdf-stage.svelte

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
<script module>
2-
export const title = 'Tour de France Stage Profile';
3-
export const description = 'Elevation profile of a Tour de France stage using trail width to encode elevation.';
4-
</script>
5-
61
<script module lang="ts">
72
import { getTdfStage } from '$lib/data.remote';
83
const data = await getTdfStage();
4+
5+
export const title = 'Tour de France Stage Profile';
6+
export const description =
7+
'Elevation profile of a Tour de France stage using trail width to encode elevation.';
98
</script>
109

1110
<script lang="ts">
1211
import { Axis, Chart, Layer, Spline, Trail } from 'layerchart';
1312
14-
1513
export { data };
1614
</script>
1715

0 commit comments

Comments
 (0)