Skip to content

Commit cb50edf

Browse files
committed
fix: pageNumber and dynamic await
1 parent 719d7b4 commit cb50edf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

i18n/locales/fr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
"next": "Suivant",
162162
"nextAriaLabel": "Page suivante",
163163
"defaultLabel": "Pagination",
164-
"pageLabel": "Aller à la page {pagenumber}"
164+
"pageLabel": "Aller à la page {pageNumber}"
165165
},
166166
"sidebar": {
167167
"title": "Changer de page"

next.dynamic.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ const getDynamicRouter = async () => {
136136

137137
// We then attempt to retrieve the source version of the file as there is no localised version
138138
// of the file and we set it on the cache to prevent future checks of the same locale for this file
139-
const { source: fileContent } = _getMarkdownFile(
139+
const { source: fileContent } = await _getMarkdownFile(
140140
defaultLocale.code,
141141
pathname
142142
);

0 commit comments

Comments
 (0)