From 21eb0411d1faaf0b60d0df7dd865a297814c1e2f Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Mon, 26 Feb 2024 23:59:46 -0800 Subject: [PATCH] fix: some unused imports causing errors --- .../Visualization/CameraControls/Scene.svelte | 71 ++++++------ .../lib/Dashboard/Visualization/Scene.svelte | 105 +++++++++--------- 2 files changed, 89 insertions(+), 87 deletions(-) diff --git a/client/src/lib/Dashboard/Visualization/CameraControls/Scene.svelte b/client/src/lib/Dashboard/Visualization/CameraControls/Scene.svelte index 3dad1dc..c39e00d 100644 --- a/client/src/lib/Dashboard/Visualization/CameraControls/Scene.svelte +++ b/client/src/lib/Dashboard/Visualization/CameraControls/Scene.svelte @@ -1,44 +1,45 @@ { - ref.lookAt(0, 1, 0) + ref.lookAt(0, 1, 0); }} > { - $cameraControls = ref + $cameraControls = ref; }} /> @@ -105,15 +106,17 @@ scale={[10, 10, 10]} position.y={0} on:create={({ ref }) => { - $mesh = ref + // @ts-expect-error + $mesh = ref; }} /> diff --git a/client/src/lib/Dashboard/Visualization/Scene.svelte b/client/src/lib/Dashboard/Visualization/Scene.svelte index 198fc1e..0aab95c 100644 --- a/client/src/lib/Dashboard/Visualization/Scene.svelte +++ b/client/src/lib/Dashboard/Visualization/Scene.svelte @@ -1,23 +1,22 @@ @@ -145,11 +144,11 @@ - +/> -->