diff --git a/src/lib/commandCenter/commands.ts b/src/lib/commandCenter/commands.ts index f1845a6bf..b191b892f 100644 --- a/src/lib/commandCenter/commands.ts +++ b/src/lib/commandCenter/commands.ts @@ -1,7 +1,7 @@ import { debounce } from '$lib/helpers/debounce'; import { isMac } from '$lib/helpers/platform'; import { wizard } from '$lib/stores/wizard'; -import { onMount } from 'svelte'; +import { type ComponentType, onMount } from 'svelte'; import { derived, writable } from 'svelte/store'; import { nanoid } from 'nanoid/non-secure'; import { trackEvent } from '$lib/actions/analytics'; @@ -49,7 +49,7 @@ type BaseCommand = { disabled?: boolean; forceEnable?: boolean; group?: CommandGroup; - icon?: string; + icon?: ComponentType; image?: string; rank?: number; nested?: boolean; diff --git a/src/lib/commandCenter/panels/ai.svelte b/src/lib/commandCenter/panels/ai.svelte index da09311f7..e777bfa63 100644 --- a/src/lib/commandCenter/panels/ai.svelte +++ b/src/lib/commandCenter/panels/ai.svelte @@ -1,6 +1,7 @@ -