Skip to content

Commit

Permalink
feat(sandbox): cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-mason committed Mar 30, 2024
1 parent 96292e6 commit 8af103b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/p2-es-sandbox/src/sandbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export const Sandbox = ({
canvasWrapperElement.current.tabIndex = 0

return () => {
canvasWrapperElement.current.removeChild(pixi!.canvasElement)
canvasWrapperElement.current?.removeChild(pixi!.canvasElement)
}
}, [])

Expand Down

0 comments on commit 8af103b

Please sign in to comment.