Skip to content

Commit

Permalink
remove pools dropdown label
Browse files Browse the repository at this point in the history
  • Loading branch information
yvesfracari committed Oct 10, 2024
1 parent 98541c7 commit 89b7439
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/cow-hooks-ui/src/PoolsDropdownMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export function PoolsDropdownMenu({

return (
<div className="flex flex-col gap-1 py-2">
<Label className="px-1 mb-1">Choose liquidity pool</Label>
<Popover open={open} onOpenChange={setOpen}>
<PopoverTrigger
className={cn(
Expand All @@ -59,7 +58,11 @@ export function PoolsDropdownMenu({
)}
onClick={() => setOpen(true)}
>
{selectedPool ? <PoolItem pool={selectedPool} /> : "Liquidity pool"}
{selectedPool ? (
<PoolItem pool={selectedPool} />
) : (
"Choose liquidity pool"
)}
<ChevronDownIcon className="size-5" />
</PopoverTrigger>
<PopoverContent className="w-[440px] bg-background">
Expand Down

0 comments on commit 89b7439

Please sign in to comment.