Update sitemap.mdx (#65003)

### Improving Documentation

### What?
Improving Documentation

### Why?
missing import of `MetadataRoute` in one of the code examples

### How?
Add the import

Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
This commit is contained in:
Brian Shanley 2024-04-25 10:36:09 +01:00 committed by GitHub
parent 39faecad93
commit 0589a5e317
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -214,6 +214,7 @@ There are two ways you can create multiple sitemaps:
For example, to split a sitemap using `generateSitemaps`, return an array of objects with the sitemap `id`. Then, use the `id` to generate the unique sitemaps.
```ts filename="app/product/sitemap.ts" switcher
import { MetadataRoute } from 'next'
import { BASE_URL } from '@/app/lib/constants'
export async function generateSitemaps() {