Skip to content

Commit

Permalink
fix(Input): uses or operator instead of conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
slhay28 committed Jun 27, 2024
1 parent 1c19d3d commit 2e70acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/solid/components/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const Input: Component<InputProps> = props => {
styles.Text.base
]}
>
{formatTitleText() === '' ? ' ' : formatTitleText()}
{formatTitleText() || ' '}
</Text>
</View>
);
Expand Down

0 comments on commit 2e70acd

Please sign in to comment.