fix: undefined

This commit is contained in:
cha0s 2021-02-02 03:50:05 -06:00
parent dec1692366
commit 16d512234f

View File

@ -52,7 +52,7 @@ const Number = ({
ref={inputRef} ref={inputRef}
step={step} step={step}
type="number" type="number"
value={value} value={'undefined' === typeof value ? '' : value}
/> />
<div className="number__controls"> <div className="number__controls">
<button <button