Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions next.dynamic.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const getDynamicRouter = async () => {
* This method returns a list of all routes that exist for a given locale
*
* @param {string} locale
* @returns {Array<string>}
* @returns {Promise<Array<string>>}
*/
const getRoutesByLanguage = async (locale = defaultLocale.code) => {
const shouldIgnoreStaticRoute = pathname =>
Expand Down Expand Up @@ -187,7 +187,7 @@ const getDynamicRouter = async () => {
*
* @param {string} locale
* @param {string} path
* @returns {import('next').Metadata}
* @returns {Promise<import('next').Metadata>}
*/
const _getPageMetadata = async (locale = defaultLocale.code, path = '') => {
const pageMetadata = { ...PAGE_METADATA };
Expand Down