fix: don't bundle react and jotai when importing from scene (#7640)

* don't bundle react and jotai when importing from scene

* fix
This commit is contained in:
Aakansha Doshi 2024-02-01 18:24:17 +05:30 committed by GitHub
parent 90ad885446
commit 1c39bd5781
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 3 deletions

View file

@ -216,7 +216,6 @@ import {
getNormalizedZoom,
getSelectedElements,
hasBackground,
isOverScrollBars,
isSomeElementSelected,
} from "../scene";
import Scene from "../scene/Scene";
@ -409,6 +408,7 @@ import { LaserTrails } from "../laser-trails";
import { withBatchedUpdates, withBatchedUpdatesThrottled } from "../reactUtils";
import { getRenderOpacity } from "../renderer/renderElement";
import { textWysiwyg } from "../element/textWysiwyg";
import { isOverScrollBars } from "../scene/scrollbars";
const AppContext = React.createContext<AppClassProperties>(null!);
const AppPropsContext = React.createContext<AppProps>(null!);