phase2 70% 완료

This commit is contained in:
hyeonsu
2025-09-05 16:19:31 +09:00
parent ad9c281efb
commit b844719da4
9 changed files with 1152 additions and 125 deletions

View File

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