23 lines
560 B
TypeScript
23 lines
560 B
TypeScript
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>
|
|
);
|
|
} |