diff --git a/components/lancamentos/shared/estabelecimento-input.tsx b/components/lancamentos/shared/estabelecimento-input.tsx index c538595..9fc41b2 100644 --- a/components/lancamentos/shared/estabelecimento-input.tsx +++ b/components/lancamentos/shared/estabelecimento-input.tsx @@ -1,6 +1,6 @@ "use client"; -import { RiCheckLine, RiSearchLine } from "@remixicon/react"; +import { RiSearchLine } from "@remixicon/react"; import * as React from "react"; import { @@ -16,7 +16,6 @@ import { PopoverContent, PopoverTrigger, } from "@/components/ui/popover"; -import { cn } from "@/lib/utils/ui"; export interface EstabelecimentoInputProps { id?: string; @@ -78,11 +77,6 @@ export function EstabelecimentoInput({ required={required} maxLength={maxLength} autoComplete="off" - onFocus={() => { - if (estabelecimentos.length > 0) { - setOpen(true); - } - }} /> {estabelecimentos.length > 0 && ( @@ -106,17 +100,13 @@ export function EstabelecimentoInput({ key={item} value={item} onSelect={() => handleSelect(item)} - className="cursor-pointer gap-1" + className="cursor-pointer" > - - {item} + + {item} + ))}