Skip to content

Fix duplicated og:title #1842

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Conversation

kamilkisiela
Copy link
Contributor

When navigating between pages Next.js renders an extra <meta property="og:title" content="..." /> without replacing the old one.

The solution was to add a key attribute. This makes sure meta elements are updated after navigating to a new page.

Copy link

vercel bot commented Dec 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
graphql-github-io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 5, 2024 5:55pm

Copy link

vercel bot commented Dec 5, 2024

@kamilkisiela is attempting to deploy a commit to the The GraphQL Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@Urigo Urigo merged commit 75884df into graphql:source Dec 5, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants