24 lines
486 B
TypeScript
24 lines
486 B
TypeScript
"use client";
|
|
|
|
import React from "react";
|
|
import { use } from "react";
|
|
import DashboardDesigner from "@/components/admin/dashboard/DashboardDesigner";
|
|
|
|
interface PageProps {
|
|
params: Promise<{ id: string }>;
|
|
}
|
|
|
|
/**
|
|
* 대시보드 편집 페이지
|
|
* - 기존 대시보드 편집
|
|
*/
|
|
export default function DashboardEditPage({ params }: PageProps) {
|
|
const { id } = use(params);
|
|
|
|
return (
|
|
<div className="h-full">
|
|
<DashboardDesigner dashboardId={id} />
|
|
</div>
|
|
);
|
|
}
|