aboutsummaryrefslogtreecommitdiff
path: root/src/routes/+layout.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/+layout.svelte')
-rw-r--r--src/routes/+layout.svelte3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index be635e8..5b4df0c 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -8,6 +8,7 @@
//// var
const scrollControl = createScrollPreventer();
+ let { children } = $props();
//// function
function horizontalScroll(event: WheelEvent): void {
@@ -125,7 +126,7 @@
</style>
<div>
- <slot></slot>
+ {@render children()}
</div>
<aside>