diff --git a/Components/Elements/ContactThreeJsComponent.jsx b/Components/Elements/ContactThreeJsComponent.jsx index 5bef3b2..3f4603e 100644 --- a/Components/Elements/ContactThreeJsComponent.jsx +++ b/Components/Elements/ContactThreeJsComponent.jsx @@ -72,6 +72,7 @@ const ContactThreeJsComponent = React.memo(() => { renderer.setSize(window.innerWidth, window.innerHeight); composer.setSize(window.innerWidth, window.innerHeight); } + function animate() { requestAnimationFrame(animate); diff --git a/pages/index.js b/pages/index.js index 66da118..7c9cd56 100644 --- a/pages/index.js +++ b/pages/index.js @@ -13,10 +13,10 @@ export default function Home() {