diff --git a/src/components/DoodlePreview.js b/src/components/DoodlePreview.js index cc1652b..78d70a6 100644 --- a/src/components/DoodlePreview.js +++ b/src/components/DoodlePreview.js @@ -58,7 +58,7 @@ class DoodlePreview extends React.Component { this.editorControls = new THREE.EditorControls(scene.camera, canvas); this.editorControls.addEventListener('change', scene.render); - loadMatcapMaterial.then(scene.render; + loadMatcapMaterial.then(scene.render); } componentWillUnmount() {