Adding in fixes for Webpack build

This commit is contained in:
Frank Delaguila
2022-03-12 18:55:57 -07:00
parent 7f7415e48e
commit d8beede420
3 changed files with 15 additions and 7 deletions

View File

@@ -27,12 +27,17 @@ const Box = (props) => {
const App = () => {
return (
<Canvas>
<ambientLight />
<pointLight position={[10, 10, 10]} />
<Box position={[-1.2, 0, 0]} />
<Box position={[1.2, 0, 0]} />
</Canvas>
<>
<nav>
nav
</nav>
<Canvas>
<ambientLight />
<pointLight position={[10, 10, 10]} />
<Box position={[-1.2, 0, 0]} />
<Box position={[1.2, 0, 0]} />
</Canvas>
</>
);
};