Skip to content

Commit

Permalink
fix: typeerror
Browse files Browse the repository at this point in the history
  • Loading branch information
matthprost committed Sep 18, 2024
1 parent dcc548c commit 74ddec7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/ui/src/components/SelectInputV2/SelectBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,7 @@ export const SelectBar = ({
{clearable && selectedData.selectedValues.length > 0 ? (
<Button
aria-label="clear value"
disabled={
disabled || ![selectedData.selectedValues[0]] || readOnly
}
disabled={disabled || !selectedData.selectedValues[0] || readOnly}
variant="ghost"
size="small"
icon="close"
Expand Down

0 comments on commit 74ddec7

Please sign in to comment.