Simplify Derivation.onChange()
It no longer uses `DerivationEmitter`.
This commit is contained in:
parent
a24a149a52
commit
194de8d833
3 changed files with 27 additions and 71 deletions
|
@ -183,7 +183,7 @@ export const Scene: React.FC<{project: IProject}> = ({project}) => {
|
|||
return studio.onSelectionChange((newState) => {
|
||||
setSelection(newState)
|
||||
})
|
||||
})
|
||||
}, [])
|
||||
|
||||
const containerRef = useRef<HTMLDivElement>(null!)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue