소스 검색

chore: add comment for refactor

alvarosabu 2 년 전
부모
커밋
3d810b06d0
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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>()