From 6942ced2f59a896fd3f4821e9eb4d0ad0562d879 Mon Sep 17 00:00:00 2001 From: "noa.santo" Date: Mon, 29 Jan 2024 17:13:38 +0100 Subject: [PATCH] fix: format fix --- src/components/layout/seo.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/layout/seo.tsx b/src/components/layout/seo.tsx index 87f6320a5..d66a79313 100644 --- a/src/components/layout/seo.tsx +++ b/src/components/layout/seo.tsx @@ -102,8 +102,9 @@ const SEO = ({ * The i18n object (languages, language, originalPath, defaultLanguage) * is replaced with constants and locales data for building the alternate meta tag. */ - const dataNode = locales.edges.find((e) => e.node.ns === 'translations') - ?.node; + const dataNode = locales.edges.find( + (e) => e.node.ns === 'translations', + )?.node; const t = JSON.parse(dataNode?.data || '{}'); const metaDescription = description || t['main.description']; const typeOfSite = siteType || 'website';