Merge pull request #4768 from imrja8/fix/command-dialog-crash

chore(ui): fix biome formatting issues from #4761
This commit is contained in:
Mauricio Siu 2026-07-08 10:31:08 -06:00 committed by GitHub
commit e6bfaa2eac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,9 +1,8 @@
"use client";
import * as React from "react";
import { Command as CommandPrimitive } from "cmdk";
import { cn } from "@/lib/utils";
import { CheckIcon, SearchIcon } from "lucide-react";
import type * as React from "react";
import {
Dialog,
DialogContent,
@ -12,7 +11,7 @@ import {
DialogTitle,
} from "@/components/ui/dialog";
import { InputGroup, InputGroupAddon } from "@/components/ui/input-group";
import { SearchIcon, CheckIcon } from "lucide-react";
import { cn } from "@/lib/utils";
function Command({
className,
@ -56,9 +55,7 @@ function CommandDialog({
<DialogTitle>{title}</DialogTitle>
<DialogDescription>{description}</DialogDescription>
</DialogHeader>
<Command>
{children}
</Command>
<Command>{children}</Command>
</DialogContent>
</Dialog>
);