diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index cec4fcd5d..8090b2676 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -4,7 +4,7 @@
import { open } from '@tauri-apps/api/dialog';
import { toasts, Toaster, events, hotkeys, stores } from '$lib';
import type { LayoutData } from './$types';
- import { Link, CommandPalette } from '$lib/components';
+ import { Link } from '$lib/components';
import { page } from '$app/stores';
import { derived } from '@square/svelte-store';
import { onMount } from 'svelte';
@@ -24,7 +24,6 @@
projects?.find((project) => project.id === page.params.projectId)
);
- let commandPalette: CommandPalette;
let linkProjectModal: LinkProjectModal;
let shareIssueModal: ShareIssueModal;
@@ -45,12 +44,9 @@
})
.catch((e: any) => toasts.error(e.message))
),
- events.on('openCommandPalette', () => commandPalette?.show()),
- events.on('closeCommandPalette', () => commandPalette?.close()),
events.on('goto', (path: string) => goto(path)),
events.on('openSendIssueModal', () => shareIssueModal?.show()),
- hotkeys.on('Meta+k', () => events.emit('openCommandPalette')),
hotkeys.on('Meta+,', () => events.emit('goto', '/users/')),
hotkeys.on('Meta+Shift+N', () => events.emit('openNewProjectModal')),
@@ -93,10 +89,6 @@
- {#await Promise.all([projects.load(), project.load()]) then}
-
- {/await}
-