빌드 오류 수정
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user