Skip to content

Commit

Permalink
fix(canvas): optimize import order
Browse files Browse the repository at this point in the history
  • Loading branch information
chilingling committed Apr 18, 2024
1 parent 42b0e0c commit 2097527
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/canvas/src/components/container/container.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ import {
NODE_LOOP
} from '../common'
import { useCanvas, useLayout, useResource, useTranslate } from '@opentiny/tiny-engine-controller'
import { isVsCodeEnv } from '@opentiny/tiny-engine-controller/js/environments'
import Builtin from '../builtin/builtin.json'

export const POSITION = Object.freeze({
TOP: 'top',
BOTTOM: 'bottom',
Expand All @@ -28,8 +31,6 @@ export const POSITION = Object.freeze({
IN: 'in',
FORBID: 'forbid'
})
import { isVsCodeEnv } from '@opentiny/tiny-engine-controller/js/environments'
import Builtin from '../builtin/builtin.json'

const initialDragState = {
keydown: false,
Expand Down

0 comments on commit 2097527

Please sign in to comment.