refactor: move extractDiagramXML function to utils and remove unused file

This commit is contained in:
dayuan.jiang
2025-03-27 06:45:38 +00:00
parent f650f7b28c
commit 13ace596d2
3 changed files with 73 additions and 71 deletions

View File

@@ -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;