mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-02 14:22:28 +08:00
refactor: move extractDiagramXML function to utils and remove unused file
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
import React, { createContext, useContext, useRef, useState } from "react";
|
||||
import type { DrawIoEmbedRef } from "react-drawio";
|
||||
import { extractDiagramXML } from "@/app/extract_xml";
|
||||
import { extractDiagramXML } from "../lib/utils";
|
||||
|
||||
interface DiagramContextType {
|
||||
chartXML: string;
|
||||
|
||||
Reference in New Issue
Block a user