From 607519db3946809e9e4306d5048c29716fc98f97 Mon Sep 17 00:00:00 2001 From: Angelo Date: Thu, 22 Dec 2022 19:03:09 +0900 Subject: [PATCH] =?UTF-8?q?:bug:=20GlobalHeader=EC=97=90=20=EC=98=AC?= =?UTF-8?q?=EB=B0=94=EB=A5=B8=20url=EC=9D=B4=20=EC=84=A4=EC=A0=95=EB=90=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/template/codeTogetherTemplate.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/template/codeTogetherTemplate.tsx b/src/template/codeTogetherTemplate.tsx index 373d68f2..4c91b942 100644 --- a/src/template/codeTogetherTemplate.tsx +++ b/src/template/codeTogetherTemplate.tsx @@ -44,7 +44,8 @@ interface ICodeTogetherTemplateProps { }; } -export default ({ data, path }: PageProps) => { +export default ({ data, location }: PageProps) => { + const { pathname: path } = location; const { allMdx, graduateReview, masthead, registration, timeTable } = data; const mastheadInfo = strainFrontmatterInfo(masthead);