대시보드 중간 커밋
This commit is contained in:
@@ -5,12 +5,12 @@
|
||||
|
||||
import { redirect } from "next/navigation";
|
||||
import { createClient } from "@/utils/supabase/server";
|
||||
import { DashboardMain } from "@/features/dashboard/components/dashboard-main";
|
||||
import { DashboardContainer } from "@/features/dashboard/components/DashboardContainer";
|
||||
|
||||
/**
|
||||
* 대시보드 페이지
|
||||
* @returns DashboardMain UI
|
||||
* @see features/dashboard/components/dashboard-main.tsx 클라이언트 상호작용(검색/시세/차트)은 해당 컴포넌트가 담당합니다.
|
||||
* @returns DashboardContainer UI
|
||||
* @see features/dashboard/components/DashboardContainer.tsx 클라이언트 상호작용(검색/시세/차트)은 해당 컴포넌트가 담당합니다.
|
||||
*/
|
||||
export default async function DashboardPage() {
|
||||
// 상태 정의: 서버에서 세션을 먼저 확인해 비로그인 접근을 차단합니다.
|
||||
@@ -21,5 +21,5 @@ export default async function DashboardPage() {
|
||||
|
||||
if (!user) redirect("/login");
|
||||
|
||||
return <DashboardMain />;
|
||||
return <DashboardContainer />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user