fix: how in the
This commit is contained in:
parent
bc1052b5e6
commit
1ab19ad937
|
@ -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,
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user