Skip to content

Commit

Permalink
chore: ran prettier so test pass
Browse files Browse the repository at this point in the history
  • Loading branch information
noa.santo committed Jan 22, 2024
1 parent e1e5702 commit fd4cf7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/components/layout/seo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,8 @@ 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';
Expand Down
1 change: 0 additions & 1 deletion src/templates/blog-post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export const Head = ({
const { author, seoMetaText, title, publicationDate, heroImage } =
data.contentfulBlogPost;


const shareImagePath = heroImage.shareImage?.resize.src;

/*
Expand Down

0 comments on commit fd4cf7c

Please sign in to comment.