import GraphEditor from "@web/src/components/common/editor/graph/GraphEditor";
// import FileUploader from "@web/src/components/common/uploader/FileUploader";

import React, { useState, useCallback } from "react";
import * as tus from "tus-js-client";
interface TusUploadProps {
	onSuccess?: (response: any) => void;
	onError?: (error: Error) => void;
}
const HomePage: React.FC<TusUploadProps> = ({ onSuccess, onError }) => {
	return (
		<div>
			{/* <FileUploader></FileUploader> */}
			<div className="w-full" style={{ height: 800 }}>
				<GraphEditor></GraphEditor>
			</div>
			{/* <div className=' h-screen'>
                <MindMap></MindMap>
            </div> */}
			{/* <MindMapEditor></MindMapEditor> */}
		</div>
	);
};

export default HomePage;
