Skip to content

Commit

Permalink
chore: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kosmotema committed May 20, 2024
1 parent e5c63b6 commit 0cfd6e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/components/select/src/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ function Select<T extends object>(props: Props<T>, ref: ForwardedRef<HTMLSelectE
<div {...getInnerWrapperProps()}>
{startContent}
<span {...getValueProps()}>{renderSelectedItem}</span>
{endContent && state.selectedItems && <VisuallyHidden elementType="span">,</VisuallyHidden>}
{endContent && state.selectedItems && (
<VisuallyHidden elementType="span">,</VisuallyHidden>
)}
{endContent}
</div>
{renderIndicator}
Expand Down

0 comments on commit 0cfd6e1

Please sign in to comment.