diff --git a/src/App.tsx b/src/App.tsx index e05378328..344f1edc4 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -24,8 +24,6 @@ import { type IndexLoaderData } from 'lib/types' import { paths } from 'lib/paths' import { useGlobalStateContext } from 'hooks/useGlobalStateContext' import { onboardingPaths } from 'routes/Onboarding/paths' -import { cameraMouseDragGuards } from 'lib/cameraControls' -import { CameraDragInteractionType_type } from '@kittycad/lib/dist/types/src/models' import { CodeMenu } from 'components/CodeMenu' import { TextEditor } from 'components/TextEditor' import { Themes, getSystemTheme } from 'lib/theme' @@ -56,8 +54,7 @@ export function App() { })) const { settings } = useGlobalStateContext() - const { showDebugPanel, onboardingStatus, cameraControls, theme } = - settings?.context || {} + const { showDebugPanel, onboardingStatus, theme } = settings?.context || {} const { state, send } = useModelingContext() const editorTheme = theme === Themes.System ? getSystemTheme() : theme diff --git a/src/lang/std/fileSystemManager.ts b/src/lang/std/fileSystemManager.ts index d407ee2fb..defeba8e8 100644 --- a/src/lang/std/fileSystemManager.ts +++ b/src/lang/std/fileSystemManager.ts @@ -1,8 +1,4 @@ -import { - readBinaryFile, - exists as tauriExists, - BaseDirectory, -} from '@tauri-apps/api/fs' +import { readBinaryFile, exists as tauriExists } from '@tauri-apps/api/fs' import { isTauri } from 'lib/isTauri' import { join } from '@tauri-apps/api/path' diff --git a/src/lib/testHelpers.ts b/src/lib/testHelpers.ts index 4076984d3..12af3d177 100644 --- a/src/lib/testHelpers.ts +++ b/src/lib/testHelpers.ts @@ -4,7 +4,6 @@ import { EngineCommand, } from '../lang/std/engineConnection' import { Models } from '@kittycad/lib' -import { v4 as uuidv4 } from 'uuid' type WebSocketResponse = Models['OkWebSocketResponseData_type'] diff --git a/src/machines/modelingMachine.ts b/src/machines/modelingMachine.ts index 6a12256d6..00436ba92 100644 --- a/src/machines/modelingMachine.ts +++ b/src/machines/modelingMachine.ts @@ -1,6 +1,5 @@ import { PathToNode, VariableDeclarator } from 'lang/wasm' import { engineCommandManager } from 'lang/std/engineConnection' -import { isReducedMotion } from 'lib/utils' import { Axis, Selection, @@ -8,7 +7,6 @@ import { Selections, } from 'lib/selections' import { assign, createMachine } from 'xstate' -import { v4 as uuidv4 } from 'uuid' import { isCursorInSketchCommandRange } from 'lang/util' import { getNodePathFromSourceRange } from 'lang/queryAst' import { kclManager } from 'lang/KclSingleton' diff --git a/src/routes/SignIn.tsx b/src/routes/SignIn.tsx index 0a628f6ef..e7ab03485 100644 --- a/src/routes/SignIn.tsx +++ b/src/routes/SignIn.tsx @@ -22,7 +22,6 @@ const SignIn = () => { }, } = useGlobalStateContext() - const appliedTheme = theme === Themes.System ? getSystemTheme() : theme const signInTauri = async () => { // We want to invoke our command to login via device auth. try {