Adding alternates to NextJS sitemap causes error
This is my sitemap.ts file which I took from Next documentation: https://nextjs.org/docs/app/api-reference/file-conventions/metadata/sitemap#generate-a-localized-sitemap
This is my sitemap.ts file which I took from Next documentation: https://nextjs.org/docs/app/api-reference/file-conventions/metadata/sitemap#generate-a-localized-sitemap