p2
This commit is contained in:
@@ -64,6 +64,8 @@ const Input: FC<Props> = (props: Props) => {
|
||||
useEffect(() => {
|
||||
if (props.value) {
|
||||
setFormattedValue(formatNumber(props.value as string));
|
||||
} else {
|
||||
setFormattedValue('');
|
||||
}
|
||||
}, [props.value])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user