diff --git a/public/index.html b/public/index.html
index e35798557825b31047bbdc8c221796fb3bed8c55..07a198f426aa9fbd50230431560fc3f5a74239c6 100644
--- a/public/index.html
+++ b/public/index.html
@@ -73,9 +73,6 @@ session.updateRenderState({
 // near the viewer's position at the time the session was created.
 const referenceSpace = await session.requestReferenceSpace('local');
 
-// A 'local' reference space has a native origin that is located
-// near the viewer's position at the time the session was created.
-const referenceSpace = await session.requestReferenceSpace('local');
 
 // Create another XRReferenceSpace that has the viewer as the origin.
 const viewerSpace = await session.requestReferenceSpace('viewer');
@@ -106,9 +103,6 @@ session.addEventListener("select", (event) => {
 });
 
 
-// Create a render loop that allows us to draw on the AR view.
-const onXRFrame = (time, frame) => {
-
 
 // Create a render loop that allows us to draw on the AR view.
 const onXRFrame = (time, frame) => {