dev #407
@ -12,7 +12,7 @@ const UP_DOWN_TYPE = {
|
||||
export default function Updown({ UP_DOWN_REF }) {
|
||||
const { getMessage } = useMessage()
|
||||
const [type, setType] = useState(UP_DOWN_TYPE.UP)
|
||||
const [filledInput, setFilledInput] = useState('')
|
||||
const [filledInput, setFilledInput] = useState('100')
|
||||
const currentObject = useRecoilValue(currentObjectState)
|
||||
const handleFocus = () => {
|
||||
if (currentObject === null) {
|
||||
@ -71,7 +71,6 @@ export default function Updown({ UP_DOWN_REF }) {
|
||||
<input
|
||||
type="text"
|
||||
className="input-origin block"
|
||||
defaultValue={100}
|
||||
ref={UP_DOWN_REF.FILLED_INPUT_REF}
|
||||
value={filledInput}
|
||||
onFocus={handleFocus}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user