Forráskód Böngészése

fix: don't import from element/index to prevent mermaid bundling

Aakansha Doshi 1 éve
szülő
commit
8ec7801a31
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      packages/excalidraw/scene/export.ts

+ 1 - 1
packages/excalidraw/scene/export.ts

@@ -39,7 +39,7 @@ import {
   getFrameLikeTitle,
   getFrameLikeTitle,
   getRootElements,
   getRootElements,
 } from "../frame";
 } from "../frame";
-import { newTextElement } from "../element";
+import { newTextElement } from "../element/newElement";
 import { Mutable } from "../utility-types";
 import { Mutable } from "../utility-types";
 import { newElementWith } from "../element/mutateElement";
 import { newElementWith } from "../element/mutateElement";
 import Scene from "./Scene";
 import Scene from "./Scene";