Skip to content

Commit

Permalink
Merge pull request #2400 from graphcommerce-org/fix/GCOM-1512
Browse files Browse the repository at this point in the history
Use correct ‘up’ data on the blogoverview page (GCOM-1512)
  • Loading branch information
paales authored Nov 1, 2024
2 parents 5360196 + e39e85c commit 59fe028
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/angry-singers-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@graphcommerce/magento-graphcms': patch
'@graphcommerce/graphcms-ui': patch
---

Remove ‘up’ data from the blogoverview page.
1 change: 0 additions & 1 deletion examples/magento-graphcms/pages/blog/page/[page].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ export const getStaticProps: GetPageStaticProps = async (context) => {
...(await blogPaths).data,
...(await layout).data,
urlEntity: { relative_url: `blog` },
up: { href: '/blog', title: i18n._(/* i18n */ 'Blog') },
apolloState: await conf.then(() => client.cache.extract()),
},
revalidate: 60 * 20,
Expand Down

0 comments on commit 59fe028

Please sign in to comment.