Skip to content

Commit

Permalink
fix: Support decimal point on advanced gas modal on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronfigueiredo committed Dec 5, 2024
1 parent fc5c01f commit 59e8ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/components/ui/numeric-input/numeric-input.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function NumericInput({
if (match?.[1]?.length >= 15) {
return;
}
onChange?.(parseFloat(newValue || 0, 10));
onChange?.(newValue);
}}
min="0"
autoFocus={autoFocus}
Expand Down

0 comments on commit 59e8ccb

Please sign in to comment.