빌드 오류 수정

This commit is contained in:
2025-10-17 15:38:01 +09:00
parent 44d04d7532
commit 9c9ddbfcd7
3 changed files with 8 additions and 4 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ import "@fontsource-variable/noto-sans-kr";
import { AppProvider } from "./providers";
import { cookies } from "next/headers";
import Script from "next/script";
const App = async ({ children }: Readonly<{ children: React.ReactNode }>) => {
const theme = (await cookies()).get("site-theme-key");
@@ -11,7 +12,7 @@ const App = async ({ children }: Readonly<{ children: React.ReactNode }>) => {
return (
<html lang="ko" data-theme={theme?.value}>
<head>
<script src="/tinymce/tinymce.min.js"></script>
<Script src="/tinymce/tinymce.min.js" strategy="afterInteractive" />
</head>
<body>
<AppProvider>{children}</AppProvider>