From 25159b1bf9ab39e437ca1e81b5c93caa286a0cd5 Mon Sep 17 00:00:00 2001 From: Diego Marcos Segura Date: Thu, 2 Nov 2023 13:47:35 -0700 Subject: [PATCH] Fix typo --- src/components/hand-tracking-controls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/hand-tracking-controls.js b/src/components/hand-tracking-controls.js index 67d2b737fc7..eba5b0f0ff7 100644 --- a/src/components/hand-tracking-controls.js +++ b/src/components/hand-tracking-controls.js @@ -108,7 +108,7 @@ module.exports.Component = registerComponent('hand-tracking-controls', { this.skinnedMesh.material.color.set(this.data.modelColor); } - for (var i = 0; i < jointEls.lenght; i++) { + for (var i = 0; i < jointEls.length; i++) { jointEls[i].setAttribute('material', 'color', this.data.modelColor); } },