diff --git a/src/components/GlobalStateProvider.tsx b/src/components/GlobalStateProvider.tsx index 777dfcba1..dd72fea54 100644 --- a/src/components/GlobalStateProvider.tsx +++ b/src/components/GlobalStateProvider.tsx @@ -24,9 +24,7 @@ import { StateFrom, } from 'xstate' import { useCommandsContext } from 'hooks/useCommandsContext' -import { invoke } from '@tauri-apps/api' import { isTauri } from 'lib/isTauri' -import { VITE_KC_API_BASE_URL } from 'env' type MachineContext = { state: StateFrom diff --git a/src/components/TextEditor.tsx b/src/components/TextEditor.tsx index 8adada6ac..7b5441522 100644 --- a/src/components/TextEditor.tsx +++ b/src/components/TextEditor.tsx @@ -27,7 +27,7 @@ import { addLineHighlight, lineHighlightField, } from 'editor/highlightextension' -import { isOverlap, roundOff } from 'lib/utils' +import { roundOff } from 'lib/utils' import { kclErrToDiagnostic } from 'lang/errors' import { CSSRuleObject } from 'tailwindcss/types/config' import { useModelingContext } from 'hooks/useModelingContext' diff --git a/src/machines/modelingMachine.ts b/src/machines/modelingMachine.ts index 52399dd3b..3f946623f 100644 --- a/src/machines/modelingMachine.ts +++ b/src/machines/modelingMachine.ts @@ -787,7 +787,7 @@ export const modelingMachine = createMachine( }, }) }, - 'hide default planes': ({}) => { + 'hide default planes': () => { kclManager.hidePlanes() }, edit_mode_exit: () =>