Selaa lähdekoodia

Fix the import in the WebGL compatibility documentation (#25761)

fix #25760
Adam N 2 vuotta sitten
vanhempi
commit
fb352e6a48

+ 1 - 1
docs/manual/en/introduction/WebGL-compatibility-check.html

@@ -15,7 +15,7 @@
 		</p>
 		</p>
 
 
 		<code>
 		<code>
-		import { WebGL } from 'three/addons/capabilities/WebGL.js';
+		import WebGL from 'three/addons/capabilities/WebGL.js';
 
 
 		if ( WebGL.isWebGLAvailable() ) {
 		if ( WebGL.isWebGLAvailable() ) {