Skip to content

Commit

Permalink
fix: Warning title element received an array with more than 1 element
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Ahumada committed Aug 5, 2022
1 parent 9e28c2a commit 910ca41
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/example-blog/components/meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function Meta({ title, tags }: MetaProps) {
})
) : (
<>
<title>{title} | Next.js for Drupal</title>
<title>{`${title} | Next.js for Drupal`}</title>
<meta
name="description"
content="A Next.js blog powered by a Drupal backend."
Expand Down
2 changes: 1 addition & 1 deletion examples/example-marketing/components/meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function Meta({ title, tags }: MetaProps) {
})
) : (
<>
<title>{title} | Next.js for Drupal</title>
<title>{`${title} | Next.js for Drupal`}</title>
<meta
name="description"
content="A Next.js blog powered by a Drupal backend."
Expand Down
2 changes: 1 addition & 1 deletion examples/example-umami/components/meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function Meta({ title, description }: MetaProps) {
href={absoluteURL(router.asPath !== "/" ? router.asPath : "")}
/>
<title>
{title} | {siteConfig.name}
{`${title} | ${siteConfig.name}`}
</title>
<meta name="description" content={description || siteConfig.slogan} />
<meta
Expand Down

0 comments on commit 910ca41

Please sign in to comment.