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

This commit is contained in:
Joris W 2020-10-29 12:48:12 +01:00 committed by GitHub
parent bb96fefa80
commit 7d4b36cccd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ export default function GspPage(props) {
return (
<div>
<h1>getServerSideProps page</h1>
<h1>getStaticProps page</h1>
<p>Current slug: {query.slug}</p>
<p>Current locale: {props.locale}</p>
<p>Default locale: {defaultLocale}</p>

View file

@ -7,7 +7,7 @@ export default function GspPage(props) {
return (
<div>
<h1>getServerSideProps page</h1>
<h1>getStaticProps page</h1>
<p>Current locale: {props.locale}</p>
<p>Default locale: {defaultLocale}</p>
<p>Configured locales: {JSON.stringify(props.locales)}</p>