Browse Source

chore: add comment for refactor

alvarosabu 1 year ago
parent
commit
3d810b06d0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/components/TresScene.ts

+ 1 - 0
src/components/TresScene.ts

@@ -64,6 +64,7 @@ export const TresScene = defineComponent<TresSceneProps>({
       logWarning('physicallyCorrectLights is deprecated, useLegacyLights is now false by default')
       logWarning('physicallyCorrectLights is deprecated, useLegacyLights is now false by default')
     }
     }
 
 
+    // TODO: refactor this when this component is refactored to SFC (single file component)
     const isRenderDisabled = computed(() => props.disableRender !== false && props.disableRender !== undefined)
     const isRenderDisabled = computed(() => props.disableRender !== false && props.disableRender !== undefined)
 
 
     const container = ref<HTMLElement>()
     const container = ref<HTMLElement>()