fix promise error

This commit is contained in:
btzr-io 2018-10-15 10:01:27 -06:00
parent 2dbb7717da
commit ae9a139f21

View file

@ -132,7 +132,7 @@ class ThreeViewer extends React.PureComponent<Props, State> {
} }
componentDidMount() { componentDidMount() {
ThreeViewer.testWebgl ThreeViewer.testWebgl()
.then(() => { .then(() => {
this.renderScene(); this.renderScene();
// Update render on resize window // Update render on resize window