From 73a6eae04155c318d700d0159a648df594bb3cb9 Mon Sep 17 00:00:00 2001 From: Woochul Lee Date: Sun, 22 May 2022 15:24:18 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B9=8C=EB=93=9C=20=EC=97=90=EB=9F=AC?= =?UTF-8?q?=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/_document.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx index b4f19aa..b4f3a8f 100644 --- a/src/pages/_document.tsx +++ b/src/pages/_document.tsx @@ -4,8 +4,7 @@ import React from 'react'; React.useLayoutEffect = React.useEffect; export default function Document(props: DocumentProps) { - const { theme } = props.__NEXT_DATA__.props.pageProps.initialState; - + const { initialState } = props.__NEXT_DATA__.props.pageProps; return ( @@ -16,7 +15,7 @@ export default function Document(props: DocumentProps) { href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css" /> - +