Skip to content

Commit 5e38e17

Browse files
authored
🚀 221223: GlobalHeader에 올바른 url이 설정되도록 수정
### GlobalHeader에 올바른 url이 설정되도록 수정 #263
2 parents 7f87aea + d836a88 commit 5e38e17

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/template/codeTogetherTemplate.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ interface ICodeTogetherTemplateProps {
4444
};
4545
}
4646

47-
export default ({ data, path }: PageProps<ICodeTogetherTemplateProps>) => {
47+
export default ({ data, location }: PageProps<ICodeTogetherTemplateProps>) => {
48+
const { pathname: path } = location;
4849
const { allMdx, graduateReview, masthead, registration, timeTable } = data;
4950

5051
const mastheadInfo = strainFrontmatterInfo(masthead);

0 commit comments

Comments
 (0)