Skip to content

Commit

Permalink
Remove unnecessary condition
Browse files Browse the repository at this point in the history
  • Loading branch information
diogolessa committed Jan 20, 2025
1 parent 7da5fb9 commit 992bd4c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/base/NumberInput/src/NumberInput/NumberInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,11 @@ export const NumberInput = forwardRef<HTMLInputElement, Props>(

const endAdornment = hideControls ? (
customEndAdornment
) : customEndAdornment ? (
) : (
<>
{customEndAdornment}
{defaultEndAdornment}
</>
) : (
defaultEndAdornment
)

const startAdornment = icon ? (
Expand Down

0 comments on commit 992bd4c

Please sign in to comment.