From ae97a48ba246ef429633640b97742adbb524c239 Mon Sep 17 00:00:00 2001 From: leedj312 Date: Thu, 17 Jul 2025 17:25:05 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=9D=B4=EB=93=9C=EB=B0=94=20?= =?UTF-8?q?=EB=A7=A4=EB=89=B4=EC=9D=B4=EB=8F=99=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wr/app/layout.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/wr/app/layout.tsx b/apps/wr/app/layout.tsx index 188692837..38ce0ec4b 100644 --- a/apps/wr/app/layout.tsx +++ b/apps/wr/app/layout.tsx @@ -6,6 +6,7 @@ import { MainDiv } from "@common/business_components"; import koBase from '../public/locales/ko/message.json'; import i18next from "i18next"; import { I18nextProvider } from "react-i18next"; +import { useRouter } from "next/navigation"; export default function RootLayout({ children, @@ -21,13 +22,19 @@ export default function RootLayout({ }, } }); + const router = useRouter(); + return ( - + { + router.push(e.urlPath) + }} + > {children}