Merge commit 'ae97a48ba246ef429633640b97742adbb524c239' into iipbs/wr/dev
This commit is contained in:
@@ -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 (
|
||||
<html lang="en">
|
||||
<body>
|
||||
<I18nextProvider i18n={i18next}>
|
||||
<StoreProvider>
|
||||
<BaseLayout>
|
||||
<BaseLayout
|
||||
handleMenuClick={(e) =>{
|
||||
router.push(e.urlPath)
|
||||
}}
|
||||
>
|
||||
<MainDiv>
|
||||
{children}
|
||||
</MainDiv>
|
||||
|
||||
Reference in New Issue
Block a user