-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Extra comma and " | Gatsby" in showcase details title #18571
Comments
@rosslh How can I reproduce it locally?? |
It looks like this happens when you link directly to a showcase page. If you navigate to any of them from the showcase index, the title is fine. The extra comma only gets added if you go directly to a show page. Click here to see error: https://www.gatsbyjs.org/showcase/reactjs.org Update: Oddly enough, the opposite is true when I run the website locally. Clicking to the page causes the bug, but refreshing or going directly to it works correctly. I'll keep working on it and try to find a fix for it. |
Digging around I found at least 2 react Helmet components that were tryin to set the title for each page. Setting the prop |
Description
Showcase details pages have an extra
,
and| Gatsby
in the document<title/>
Steps to reproduce
Expected result
MetaProjection: Showcase | GatsbyJS
ReactJS: Showcase | GatsbyJS
Actual result
MetaProjection,: Showcase | GatsbyJS | GatsbyJS
ReactJS,: Showcase | GatsbyJS | GatsbyJS
Environment
Reproduced on:
The text was updated successfully, but these errors were encountered: