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