Skip to content

Commit

Permalink
docs(en): merge reactjs.org/main into zh-hans.reactjs.org/main @ cd13b52
Browse files Browse the repository at this point in the history
  • Loading branch information
awxiaoxian2020 authored Aug 8, 2023
2 parents e8c94f6 + f9705c1 commit f504ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Seo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const Seo = withRouter(
const canonicalUrl = `https://${siteDomain}${
router.asPath.split(/[\?\#]/)[0]
}`;
const pageTitle = isHomePage ? 'React' : title + ' – React';
const pageTitle = isHomePage ? title : title + ' – React';
// Twitter's meta parser is not very good.
const twitterTitle = pageTitle.replace(/[<>]/g, '');
return (
Expand Down

0 comments on commit f504ffe

Please sign in to comment.