Update the `dispose` function initialization to include a space for consistency. Remove the `rootCreated` property from the `WorldDocument` class, simplifying the state management during scene handling. This change enhances code readability and maintains functionality in scene mounting and node insertion processes.
7 lines
164 B
JavaScript
7 lines
164 B
JavaScript
export default function Project() {
|
|
return (
|
|
<scene key="my-first-scene" name="MyFirstScene" fill="red" width={1920} height={1080}>
|
|
|
|
</scene>
|
|
);
|
|
} |