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>
|
||||
<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,
|
||||
],
|
||||
);
|
||||
}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user