mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-10 19:10:20 +02:00
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:
@@ -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!);
|
||||
|
Reference in New Issue
Block a user