Skip to content

Commit a143e9b

Browse files
committed
Fix linter error
1 parent 17df980 commit a143e9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/js/product-editor/src/hooks/use-currency-input-props.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ export const useCurrencyInputProps = ( {
8080
onKeyUp( event );
8181
}
8282
},
83-
onChange( value: string ) {
84-
const sanitizeValue = sanitizePrice( value || '0' );
83+
onChange( newValue: string ) {
84+
const sanitizeValue = sanitizePrice( newValue || '0' );
8585
if ( onChange ) {
8686
onChange( sanitizeValue );
8787
}

0 commit comments

Comments
 (0)