Fix a bunch of react18 type errors
This commit is contained in:
parent
5387fda517
commit
7a5b1c744c
24 changed files with 48 additions and 25 deletions
|
@ -65,7 +65,7 @@ export const OrbitControls = forwardRef<OrbitControlsImpl, OrbitControlsProps>(
|
|||
if (onChange) onChange(e)
|
||||
}
|
||||
|
||||
controls.connect(explDomElement)
|
||||
controls.connect(explDomElement!)
|
||||
controls.addEventListener('change', callback)
|
||||
|
||||
if (onStart) controls.addEventListener('start', onStart)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue