fix: how in the

This commit is contained in:
cha0s 2021-02-02 15:51:55 -06:00
parent bc1052b5e6
commit 1ab19ad937

View File

@ -16,11 +16,11 @@ const Vector = ({
<div className="vector__label-text">{labels[0]}</div> <div className="vector__label-text">{labels[0]}</div>
<Number <Number
integer={integer} integer={integer}
onChange={(event, value) => { onChange={(event, number) => {
onChange( onChange(
event, event,
[ [
value, number,
value[1], value[1],
], ],
); );
@ -32,12 +32,12 @@ const Vector = ({
<div className="vector__label-text">{labels[1]}</div> <div className="vector__label-text">{labels[1]}</div>
<Number <Number
integer={integer} integer={integer}
onChange={(event, value) => { onChange={(event, number) => {
onChange( onChange(
event, event,
[ [
value[0], value[0],
value, number,
], ],
); );
}} }}