phase2 70% 완료
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user