From 781b5ec674ea9072e8adfa65792886757bef5d28 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Wed, 1 Apr 2026 18:09:25 +0200 Subject: [PATCH] Comment out `og:image:width` and `og:image:height` meta tags to align with updated image metadata usage. --- web/components/SEO.tsx | 5 +---- web/pages/_app.tsx | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/web/components/SEO.tsx b/web/components/SEO.tsx index ab06a904..60c2f82e 100644 --- a/web/components/SEO.tsx +++ b/web/components/SEO.tsx @@ -1,5 +1,4 @@ import {IS_PROD} from 'common/envs/constants' -import {PNG_FAVICON} from 'common/hosting/constants' import {removeUndefinedProps} from 'common/util/object' import {buildOgUrl} from 'common/util/og' import Head from 'next/head' @@ -14,9 +13,7 @@ export function SEO

>(props: { const {title, description, url, image, ogProps} = props const imageUrl = - image ?? - (ogProps && buildOgUrl(removeUndefinedProps(ogProps.props) as any, ogProps.endpoint)) ?? - PNG_FAVICON + image ?? (ogProps && buildOgUrl(removeUndefinedProps(ogProps.props) as any, ogProps.endpoint)) const absUrl = 'https://compassmeet.com' + url const endTitle = IS_PROD ? 'Compass' : 'Compass dev' diff --git a/web/pages/_app.tsx b/web/pages/_app.tsx index 3ccd2fc5..4c14d72b 100644 --- a/web/pages/_app.tsx +++ b/web/pages/_app.tsx @@ -181,6 +181,8 @@ function MyApp(props: AppProps) { {/**/} + {/**/} + {/**/}