지금까지 내용 커밋
This commit is contained in:
23
page/src/app/layout.tsx
Normal file
23
page/src/app/layout.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
import type { Metadata } from "next";
|
||||
import "./globals.css";
|
||||
import Providers from "@/components/Providers"; // 🌟 방금 만든 Provider 불러오기
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "MusicBot Web",
|
||||
description: "디스코드 음악 봇 웹 대시보드",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="ko">
|
||||
<body>
|
||||
{/* 🌟 앱 전체를 Providers로 감싸줍니다 */}
|
||||
<Providers>{children}</Providers>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user