Lint all the things
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { InputNumber, Popover } from "antd";
|
||||
import React, { forwardRef, useEffect, useRef, useState } from "react";
|
||||
import { forwardRef, useEffect, useRef, useState } from "react";
|
||||
|
||||
const FormInputNUmberCalculator = ({ value: formValue, onChange: formOnChange, ...restProps }, refProp) => {
|
||||
const FormInputNUmberCalculator = ({ value: formValue, onChange: formOnChange, ...restProps }) => {
|
||||
const [value, setValue] = useState(formValue);
|
||||
const [total, setTotal] = useState(0);
|
||||
const [history, setHistory] = useState([]);
|
||||
@@ -97,7 +97,7 @@ const FormInputNUmberCalculator = ({ value: formValue, onChange: formOnChange, .
|
||||
value={value}
|
||||
defaultValue={value}
|
||||
onKeyDown={handleKeyDown}
|
||||
onBlur={(e) => setHistory([])}
|
||||
onBlur={() => setHistory([])}
|
||||
{...restProps}
|
||||
/>
|
||||
</Popover>
|
||||
|
||||
Reference in New Issue
Block a user