Unverified Commit 7d4b36cc authored by Joris W's avatar Joris W Committed by GitHub

Fix GSP page titles in i18n-routing example (#18465)

parent bb96fefa
...@@ -11,7 +11,7 @@ export default function GspPage(props) { ...@@ -11,7 +11,7 @@ export default function GspPage(props) {
return ( return (
<div> <div>
<h1>getServerSideProps page</h1> <h1>getStaticProps page</h1>
<p>Current slug: {query.slug}</p> <p>Current slug: {query.slug}</p>
<p>Current locale: {props.locale}</p> <p>Current locale: {props.locale}</p>
<p>Default locale: {defaultLocale}</p> <p>Default locale: {defaultLocale}</p>
......
...@@ -7,7 +7,7 @@ export default function GspPage(props) { ...@@ -7,7 +7,7 @@ export default function GspPage(props) {
return ( return (
<div> <div>
<h1>getServerSideProps page</h1> <h1>getStaticProps page</h1>
<p>Current locale: {props.locale}</p> <p>Current locale: {props.locale}</p>
<p>Default locale: {defaultLocale}</p> <p>Default locale: {defaultLocale}</p>
<p>Configured locales: {JSON.stringify(props.locales)}</p> <p>Configured locales: {JSON.stringify(props.locales)}</p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment