소스 검색

fixed type thingie

Tino Koch 3 달 전
부모
커밋
3863899141
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/TresCanvas.vue

+ 1 - 1
src/components/TresCanvas.vue

@@ -155,7 +155,7 @@ const unmountCanvas = () => {
 }
 
 onMounted(async () => {
-  const existingCanvas = canvasRef.value as Ref<HTMLCanvasElement>
+  const existingCanvas = canvasRef as Ref<HTMLCanvasElement>
 
   context.value = await useTresContextProvider({
     scene: scene.value as TresScene,