Skip to content

Commit 99f62aa

Browse files
committed
fix: build
1 parent 00e61d6 commit 99f62aa

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/pages/404.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ function NotFound(props: any) {
99
const siteTitle = get(this, "props.data.site.siteMetadata.title");
1010
return (
1111
<Layout>
12-
<Helmet title={`${props.intl.messages.notfound.header} | ${siteTitle}`} />
13-
<h2>{props.intl.messages.notfound.description}</h2>
12+
<Helmet title={`${props.intl.messages["notfound.header"]} | ${siteTitle}`} />
13+
<h2>{props.intl.messages["notfound.description"]}</h2>
1414
</Layout>
1515
);
1616
}

src/pages/seminars.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function SeminarIndex({intl, ...props}: any) {
1515
const posts = get(props, "data.allContentfulSeminar.edges");
1616
return (
1717
<Layout>
18-
<Helmet title={`${props.intl.messages.seminars} | ${siteTitle}`} />
18+
<Helmet title={`${intl.messages.seminars} | ${siteTitle}`} />
1919
<Row>
2020
{posts.map((post, i) => {
2121
const [image] = get(post, "node.gallery");

src/templates/seminar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function SeminarTemplate({intl, ...props}: any) {
3131

3232
return (
3333
<Layout>
34-
<Helmet title={`${post.name} | ${props.intl.messages.seminars} | ${siteTitle}`} />
34+
<Helmet title={`${post.name} | ${intl.messages.seminars} | ${siteTitle}`} />
3535
<Row>
3636
<Column raw>
3737
<Spacing size="l" />

0 commit comments

Comments
 (0)