The Node.js® Website

fix: pageNumber and dynamic await

Changed files
+2 -2
i18n
locales
+1 -1
i18n/locales/fr.json
··· 161 161 "next": "Suivant", 162 162 "nextAriaLabel": "Page suivante", 163 163 "defaultLabel": "Pagination", 164 - "pageLabel": "Aller à la page {pagenumber}" 164 + "pageLabel": "Aller à la page {pageNumber}" 165 165 }, 166 166 "sidebar": { 167 167 "title": "Changer de page"
+1 -1
next.dynamic.mjs
··· 136 136 137 137 // We then attempt to retrieve the source version of the file as there is no localised version 138 138 // 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( 140 140 defaultLocale.code, 141 141 pathname 142 142 );