Skip to content

Commit

Permalink
fix flash
Browse files Browse the repository at this point in the history
  • Loading branch information
richardgill committed Apr 1, 2024
1 parent 34e78e0 commit ee0a8cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/docs/src/components/CommandMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { search, type PagefindResultWithData } from "@/lib/search";
import { cn } from "@/lib/utils";
import { FileIcon } from "lucide-react";

type CommandMenuProps = DialogProps & { className?: string };
type CommandMenuProps = DialogProps;

export const CommandMenu = ({ ...props }: CommandMenuProps) => {
const [isOpen, setIsOpen] = React.useState(false);
Expand Down Expand Up @@ -55,7 +55,6 @@ export const CommandMenu = ({ ...props }: CommandMenuProps) => {
{...props}
className={cn(
"relative h-10 w-full justify-start rounded-[0.5rem] bg-background text-sm font-normal text-muted-foreground shadow-none sm:pr-12 md:w-64 lg:w-64",
props.className,
)}
onClick={() => setIsOpen(true)}
>
Expand Down

0 comments on commit ee0a8cc

Please sign in to comment.