From 5134b76939ad05987c2855e594668dd02c45cfeb Mon Sep 17 00:00:00 2001 From: olexh Date: Mon, 19 Aug 2024 00:24:51 +0300 Subject: [PATCH] fix: destruct passed props in generate-metadata --- src/utils/generate-metadata.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/generate-metadata.ts b/src/utils/generate-metadata.ts index 39bde8ed..5a5cfa60 100644 --- a/src/utils/generate-metadata.ts +++ b/src/utils/generate-metadata.ts @@ -42,6 +42,7 @@ const generateMetadata = ({ images, siteName, other, + ...props }: Props): Metadata => { return { title: title || DEFAULTS.title, @@ -59,6 +60,7 @@ const generateMetadata = ({ images: images || DEFAULTS.images, }, other, + ...props, }; };