mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-11 16:24:38 +01:00
fix: don't bundle react-dom when importing from element (#7635)
This commit is contained in:
@@ -115,7 +115,6 @@ import {
|
||||
newLinearElement,
|
||||
newTextElement,
|
||||
newImageElement,
|
||||
textWysiwyg,
|
||||
transformElements,
|
||||
updateTextElement,
|
||||
redrawTextBoundingBox,
|
||||
@@ -409,6 +408,7 @@ import { AnimatedTrail } from "../animated-trail";
|
||||
import { LaserTrails } from "../laser-trails";
|
||||
import { withBatchedUpdates, withBatchedUpdatesThrottled } from "../reactUtils";
|
||||
import { getRenderOpacity } from "../renderer/renderElement";
|
||||
import { textWysiwyg } from "../element/textWysiwyg";
|
||||
|
||||
const AppContext = React.createContext<AppClassProperties>(null!);
|
||||
const AppPropsContext = React.createContext<AppProps>(null!);
|
||||
|
||||
Reference in New Issue
Block a user