fix: signature

This commit is contained in:
cha0s 2021-01-30 20:25:00 -06:00
parent d877180476
commit ed14199918

View File

@ -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,