We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7f87aea + d836a88 commit 5e38e17Copy full SHA for 5e38e17
1 file changed
src/template/codeTogetherTemplate.tsx
@@ -44,7 +44,8 @@ interface ICodeTogetherTemplateProps {
44
};
45
}
46
47
-export default ({ data, path }: PageProps<ICodeTogetherTemplateProps>) => {
+export default ({ data, location }: PageProps<ICodeTogetherTemplateProps>) => {
48
+ const { pathname: path } = location;
49
const { allMdx, graduateReview, masthead, registration, timeTable } = data;
50
51
const mastheadInfo = strainFrontmatterInfo(masthead);
0 commit comments