Skip to content

Commit

Permalink
Apply small simplification
Browse files Browse the repository at this point in the history
Co-authored-by: Marin Atanasov <[email protected]>
  • Loading branch information
youknowriad and tyxla committed Dec 6, 2024
1 parent e2bbc2f commit 4c2d86f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/components/src/box-control/input-control.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,7 @@ export default function BoxInputControl( {
id={ inputId }
isPressEnterToChange
value={ mergedValue }
onChange={ ( nextValue, extra ) =>
handleOnValueChange( nextValue, extra )
}
onChange={ handleOnValueChange }
onUnitChange={ handleOnUnitChange }
onFocus={ handleOnFocus }
label={ LABELS[ side ] }
Expand Down

0 comments on commit 4c2d86f

Please sign in to comment.