diff --git a/src/lib/components/EditorNavbar.svelte b/src/lib/components/EditorNavbar.svelte
index 17878c6..6a1c3be 100644
--- a/src/lib/components/EditorNavbar.svelte
+++ b/src/lib/components/EditorNavbar.svelte
@@ -3,7 +3,7 @@
import * as Dropdown from "$lib/components/ui/dropdown-menu";
import ChevronLeft from "lucide-svelte/icons/chevron-left";
- export let isToolBoxHidden: boolean
+ export let isToolBoxHidden: boolean;
export let toolBoxWidth;
/* eslint-disable-next-line */
@@ -28,10 +28,7 @@
{
- dispatch("toggle_toolbox")
+ dispatch("toggle_toolbox");
}}>Hide Toolbox
diff --git a/src/routes/editor/+page.svelte b/src/routes/editor/+page.svelte
index f9971f8..ff315bc 100644
--- a/src/routes/editor/+page.svelte
+++ b/src/routes/editor/+page.svelte
@@ -56,10 +56,10 @@
on:save={() => saveWorkspace(currentFile)}
on:load={() => loadWorkspace(currentFile)}
on:toggle_toolbox={() => {
- if(workspace) {
+ if (workspace) {
const toolbox = workspace.getToolbox();
- toolbox?.setVisible(isToolBoxHidden)
- isToolBoxHidden = !isToolBoxHidden
+ toolbox?.setVisible(isToolBoxHidden);
+ isToolBoxHidden = !isToolBoxHidden;
}
}}
/>