Revert "sort imports" (#6100)

Revert "sort imports (#6094)"

This reverts commit 2fc8cb5376.
This commit is contained in:
Jess Frazelle
2025-04-01 15:31:19 -07:00
committed by GitHub
parent 964d81dc0e
commit 879b471aed
342 changed files with 2630 additions and 2939 deletions

View File

@ -1,16 +1,16 @@
// A little class for updating the code state when we need to and explicitly
// NOT updating the code state when we don't need to.
// This prevents re-renders of the codemirror editor, when typing.
import { history } from '@codemirror/commands'
import { Annotation, Transaction } from '@codemirror/state'
import { Compartment } from '@codemirror/state'
import { EditorView, KeyBinding } from '@codemirror/view'
import { Program, parse, recast } from 'lang/wasm'
import { bracket } from 'lib/exampleKcl'
import { isDesktop } from 'lib/isDesktop'
import { editorManager } from 'lib/singletons'
import { err, reportRejection } from 'lib/trap'
import toast from 'react-hot-toast'
import { editorManager } from 'lib/singletons'
import { Annotation, Transaction } from '@codemirror/state'
import { EditorView, KeyBinding } from '@codemirror/view'
import { recast, Program, parse } from 'lang/wasm'
import { err, reportRejection } from 'lib/trap'
import { Compartment } from '@codemirror/state'
import { history } from '@codemirror/commands'
const PERSIST_CODE_KEY = 'persistCode'