From 7575f9b390953009561609f837d926293f100a16 Mon Sep 17 00:00:00 2001 From: Nathan Booker Date: Sun, 28 Jul 2024 17:55:07 -0500 Subject: [PATCH] Fix missing instances of generateMetadata on static pages --- .../[locale]/(default)/(faceted)/brand/[slug]/static/page.tsx | 2 ++ .../(default)/(faceted)/category/[slug]/static/page.tsx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/core/app/[locale]/(default)/(faceted)/brand/[slug]/static/page.tsx b/core/app/[locale]/(default)/(faceted)/brand/[slug]/static/page.tsx index 06b6e3cd7..41d1a0b64 100644 --- a/core/app/[locale]/(default)/(faceted)/brand/[slug]/static/page.tsx +++ b/core/app/[locale]/(default)/(faceted)/brand/[slug]/static/page.tsx @@ -11,6 +11,8 @@ import BrandPage from '../page'; export default BrandPage; +export { generateMetadata } from '../page'; + const BrandsQuery = graphql(` query BrandsQuery($first: Int, $entityIds: [Int!]) { site { diff --git a/core/app/[locale]/(default)/(faceted)/category/[slug]/static/page.tsx b/core/app/[locale]/(default)/(faceted)/category/[slug]/static/page.tsx index ac2b4f947..23138ec18 100644 --- a/core/app/[locale]/(default)/(faceted)/category/[slug]/static/page.tsx +++ b/core/app/[locale]/(default)/(faceted)/category/[slug]/static/page.tsx @@ -12,6 +12,8 @@ import CategoryPage from '../page'; export default CategoryPage; +export { generateMetadata } from '../page'; + const CategoryTreeQuery = graphql( ` query CategoryTreeQuery($categoryId: Int) {