Skip to content

Commit 24d26df

Browse files
committed
update
1 parent a1aa27e commit 24d26df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@mpiorowski/svelte-init",
33
"description": "Low-overhead Svelte UI library",
4-
"version": "2.0.6",
4+
"version": "2.0.7",
55
"keywords": [
66
"svelte",
77
"sveltekit",

src/lib/components/drawer.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
export let onClose: () => void;
55
export let isOpen: boolean;
66
7-
$: document.body.classList.toggle('no-scroll', isOpen);
7+
$: document && document.body.classList.toggle('no-scroll', isOpen);
88
</script>
99

1010
{#if isOpen}

0 commit comments

Comments
 (0)