Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiorowski committed Jan 12, 2023
1 parent a1aa27e commit 24d26df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mpiorowski/svelte-init",
"description": "Low-overhead Svelte UI library",
"version": "2.0.6",
"version": "2.0.7",
"keywords": [
"svelte",
"sveltekit",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/drawer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
export let onClose: () => void;
export let isOpen: boolean;
$: document.body.classList.toggle('no-scroll', isOpen);
$: document && document.body.classList.toggle('no-scroll', isOpen);
</script>

{#if isOpen}
Expand Down

1 comment on commit 24d26df

@vercel
Copy link

@vercel vercel bot commented on 24d26df Jan 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

svelte-init – ./

svelte-init.vercel.app
svelte-init-git-main-mpiorowski.vercel.app
svelte-init-mpiorowski.vercel.app

Please sign in to comment.