Skip to content

Commit 2efa4e5

Browse files
committed
clean up
1 parent 99beb03 commit 2efa4e5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

examples/gatsby-starter-default-intl/src/pages/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const IndexPage = ({ intl }) => {
88
return (
99
<Layout>
1010
<SEO
11+
lang={intl.locale}
1112
title={intl.formatMessage({ id: "title" })}
1213
keywords={[`gatsby`, `application`, `react`]}
1314
/>

examples/gatsby-starter-default-intl/src/pages/page-2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import SEO from "../components/seo"
66

77
const SecondPage = ({ intl }) => (
88
<Layout>
9-
<SEO title={intl.formatMessage({ id: "title_page2" })} />
9+
<SEO lang={intl.locale} title={intl.formatMessage({ id: "title_page2" })} />
1010
<h1>
1111
<FormattedMessage id="hello_page2" />
1212
</h1>

0 commit comments

Comments
 (0)