Skip to content

Commit 13c8bf4

Browse files
committed
add something that defintely isnt an easter egg
1 parent f8ea5e3 commit 13c8bf4

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

src/lib/components/app-sidebar.svelte

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,15 @@
310310
<Command.Dialog
311311
bind:open={commandOpen.current}
312312
onOpenChangeComplete={(state) => {
313-
if (!state) commandInput = '';
313+
if (!state) {
314+
commandInput = '';
315+
// 100% not an easter egg
316+
if (Math.random() > 0.05) {
317+
commandPlaceholder = 'Search...';
318+
} else {
319+
commandPlaceholder = "The search begins, I'm back, so enjoy the trip, huh";
320+
}
321+
}
314322
}}
315323
>
316324
<Command.Input bind:value={commandInput} placeholder={commandPlaceholder} />

0 commit comments

Comments
 (0)