Skip to content
This repository was archived by the owner on May 14, 2026. It is now read-only.

Commit f8ea5e3

Browse files
committed
use variable for search dialog
1 parent 98dc57b commit f8ea5e3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/lib/components/app-sidebar.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
);
6565
6666
let commandInput = $state('');
67+
let commandPlaceholder = $state('Search...');
6768
</script>
6869

6970
<svelte:document onkeydown={handleKeydown} />
@@ -312,7 +313,7 @@
312313
if (!state) commandInput = '';
313314
}}
314315
>
315-
<Command.Input bind:value={commandInput} placeholder="Type a command or search..." />
316+
<Command.Input bind:value={commandInput} placeholder={commandPlaceholder} />
316317
<Command.List>
317318
<Command.Empty>No results found.</Command.Empty>
318319
{#each filteredMainNavigation as groupItem (groupItem.title)}

0 commit comments

Comments
 (0)