Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

Commit c29dc49

Browse files
change the SearchIcon to CommandIcon
1 parent 5a9785e commit c29dc49

File tree

1 file changed

+9
-6
lines changed
  • packages/section-blog-theme/components/Command

1 file changed

+9
-6
lines changed

packages/section-blog-theme/components/Command/Command.tsx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from "react"
2-
import { File, SearchIcon } from 'lucide-react';
2+
import { File, CommandIcon } from 'lucide-react';
33
import {
44
CommandDialog,
55
CommandEmpty,
@@ -45,7 +45,7 @@ export function SearchCommandDialog() {
4545
size={"icon"}
4646
onClick={() => setOpen(!open)}
4747
>
48-
<SearchIcon className="h-5 w-5" />
48+
<CommandIcon className="h-5 w-5" />
4949
</Button>
5050
</TooltipTrigger>
5151

@@ -56,11 +56,12 @@ export function SearchCommandDialog() {
5656
</TooltipProvider>
5757

5858
<CommandDialog open={open} onOpenChange={setOpen}>
59-
<CommandInput placeholder="Type a command or search..." />
60-
61-
59+
60+
<CommandInput placeholder={"Type a command or search..."} />
61+
6262
<CommandList>
63-
<CommandEmpty>No results found.</CommandEmpty>
63+
64+
<CommandEmpty> No results found.</CommandEmpty>
6465

6566
{
6667
data && Object.entries(data).map(([key, value]) => {
@@ -77,7 +78,9 @@ export function SearchCommandDialog() {
7778
}
7879

7980
<CommandSeparator />
81+
8082
</CommandList>
83+
8184
</CommandDialog>
8285
</>
8386
)

0 commit comments

Comments
 (0)