Explorar o código

fixed type thingie

Tino Koch hai 2 meses
pai
achega
3863899141
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,