未验证 提交 7d4b36cc 编写于 作者: J Joris W 提交者: GitHub

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

上级 bb96fefa
......@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册