기타 수정

This commit is contained in:
hyeonsu
2025-09-08 10:33:00 +09:00
parent b02e9610ea
commit 37fac630b9
4 changed files with 25 additions and 84 deletions

View File

@@ -4,18 +4,19 @@ import React from "react";
import { Toaster } from "react-hot-toast";
import { DataFlowDesigner } from "@/components/dataflow/DataFlowDesigner";
import { useAuth } from "@/hooks/useAuth";
import { TableRelationship } from "@/lib/api/dataflow";
export default function DataFlowPage() {
const { user } = useAuth();
const handleSave = (relationships: any[]) => {
const handleSave = (relationships: TableRelationship[]) => {
console.log("저장된 관계:", relationships);
// TODO: API 호출로 관계 저장
};
return (
<div className="h-screen bg-gray-50">
<DataFlowDesigner companyCode={user?.companyCode || "COMP001"} onSave={handleSave} />
<DataFlowDesigner companyCode={user?.company_code || "COMP001"} onSave={handleSave} />
<Toaster />
</div>
);