Fix GSP page titles in i18n-routing example (#18465)
This commit is contained in:
parent
bb96fefa80
commit
7d4b36cccd
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue