fix promise error
This commit is contained in:
parent
2dbb7717da
commit
ae9a139f21
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ class ThreeViewer extends React.PureComponent<Props, State> {
|
|||
}
|
||||
|
||||
componentDidMount() {
|
||||
ThreeViewer.testWebgl
|
||||
ThreeViewer.testWebgl()
|
||||
.then(() => {
|
||||
this.renderScene();
|
||||
// Update render on resize window
|
||||
|
|
Loading…
Reference in a new issue