more clean up (#889)
This commit is contained in:
@ -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<T extends AnyStateMachine> = {
|
||||
state: StateFrom<T>
|
||||
|
@ -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'
|
||||
|
@ -787,7 +787,7 @@ export const modelingMachine = createMachine(
|
||||
},
|
||||
})
|
||||
},
|
||||
'hide default planes': ({}) => {
|
||||
'hide default planes': () => {
|
||||
kclManager.hidePlanes()
|
||||
},
|
||||
edit_mode_exit: () =>
|
||||
|
Reference in New Issue
Block a user