fix: signature
This commit is contained in:
parent
d877180476
commit
ed14199918
|
@ -39,7 +39,7 @@ const Particle = ({
|
||||||
Rate
|
Rate
|
||||||
<Number
|
<Number
|
||||||
value={particle.rate || 0}
|
value={particle.rate || 0}
|
||||||
onChange={(value) => {
|
onChange={(event, value) => {
|
||||||
patch({
|
patch({
|
||||||
path: join(path, 'rate'),
|
path: join(path, 'rate'),
|
||||||
value,
|
value,
|
||||||
|
@ -52,7 +52,7 @@ const Particle = ({
|
||||||
<Number
|
<Number
|
||||||
integer
|
integer
|
||||||
value={particle.count || 1}
|
value={particle.count || 1}
|
||||||
onChange={(value) => {
|
onChange={(event, value) => {
|
||||||
patch({
|
patch({
|
||||||
path: join(path, 'count'),
|
path: join(path, 'count'),
|
||||||
value,
|
value,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user