Skip to content

Commit

Permalink
Update src/components/ui/autocomplete.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
rithviknishad and coderabbitai[bot] authored Feb 6, 2025
1 parent 0ff9a39 commit 293d230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ui/autocomplete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default function Autocomplete({
className="w-full justify-between"
disabled={disabled}
data-cy={dataCy}
onClick={() => setOpen(true)}
onClick={() => setOpen(!open)}
>
<span className={cn("truncate", !selectedOption && "text-gray-500")}>
{selectedOption ? selectedOption.label : placeholder}
Expand Down

0 comments on commit 293d230

Please sign in to comment.