We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d4340b commit ce8cd9cCopy full SHA for ce8cd9c
src/ui/components/form/InputBn.tsx
@@ -36,7 +36,7 @@ function getMinMax(type: string): [bigint, bigint] {
36
}
37
38
export function InputBn({ onChange, typeDef: { type } }: Props): React.ReactElement {
39
- const [displayValue, setDisplayValue] = useState('0');
+ const [displayValue, setDisplayValue] = useState('');
40
const [min, max] = getMinMax(type);
41
42
const handleChange = useCallback(
0 commit comments