name should be key (#28917)

Small fix on parameter expecting to be de-duped
This commit is contained in:
scottrepreneur 2021-09-08 09:00:34 -05:00 committed by GitHub
parent dab4ac2d12
commit ee71f9d863
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ function IndexPage() {
export default IndexPage
```
In this case only the second `<meta property="og:title" />` is rendered. `meta` tags with duplicate `name` attributes are automatically handled.
In this case only the second `<meta property="og:title" />` is rendered. `meta` tags with duplicate `key` attributes are automatically handled.
> The contents of `head` get cleared upon unmounting the component, so make sure each page completely defines what it needs in `head`, without making assumptions about what other pages added.