mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 14:06:59 +00:00
Removes extra flat
This commit is contained in:
parent
4db661019f
commit
6472a8c162
@ -45,5 +45,5 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
|
|||||||
throw JSON.stringify(error, null, 2);
|
throw JSON.stringify(error, null, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
return [...routesMap, ...fetchedRoutes.flat()];
|
return [...routesMap, ...fetchedRoutes];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user