From 9d77688b3fbce108e170e0f874fbd9da66fd25d1 Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Thu, 30 Oct 2025 21:21:29 +0900
Subject: (김준회) 멀티도메인 대응 로그아웃 커스텀 처리, PO 생성 서버액션 연결
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/layout/HeaderDataroom.tsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'components/layout/HeaderDataroom.tsx')

diff --git a/components/layout/HeaderDataroom.tsx b/components/layout/HeaderDataroom.tsx
index 04d61a8d..a986a87d 100644
--- a/components/layout/HeaderDataroom.tsx
+++ b/components/layout/HeaderDataroom.tsx
@@ -28,7 +28,8 @@ import { cn } from "@/lib/utils";
 import Image from "next/image";
 import { MobileMenu } from "./MobileMenu";
 import { CommandMenu } from "./command-menu";
-import { useSession, signOut } from "next-auth/react";
+import { useSession } from "next-auth/react";
+import { customSignOut } from "@/lib/auth/custom-signout";
 import { NotificationDropdown } from "./NotificationDropdown";
 
 // 간단한 메뉴 배열
@@ -138,7 +139,7 @@ export function HeaderDataRoom() {
                                         <Link href={`/${lng}/evcp/settings`}>설정</Link>
                                     </DropdownMenuItem>
                                     <DropdownMenuSeparator />
-                                    <DropdownMenuItem onSelect={() => signOut({ callbackUrl: `${window.location.origin}/${lng}/evcp` })}>
+                                    <DropdownMenuItem onSelect={() => customSignOut({ callbackUrl: `${window.location.origin}/${lng}/evcp` })}>
                                         로그아웃
                                     </DropdownMenuItem>
                                 </DropdownMenuContent>
-- 
cgit v1.2.3

