From 6472a8c162e873d02f5cc974bdb096058926aaa6 Mon Sep 17 00:00:00 2001 From: Michael Novotny Date: Tue, 1 Aug 2023 20:27:39 -0500 Subject: [PATCH] Removes extra `flat` --- app/sitemap.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/sitemap.ts b/app/sitemap.ts index baf37134e..46d39669c 100644 --- a/app/sitemap.ts +++ b/app/sitemap.ts @@ -45,5 +45,5 @@ export default async function sitemap(): Promise { throw JSON.stringify(error, null, 2); } - return [...routesMap, ...fetchedRoutes.flat()]; + return [...routesMap, ...fetchedRoutes]; }