浏览代码

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

fix #25760
Adam N 2 年之前
父节点
当前提交
fb352e6a48
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/manual/en/introduction/WebGL-compatibility-check.html

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

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