From dfd94065f29e479216ee0e9df52eaac78ac077cd Mon Sep 17 00:00:00 2001 From: Hiroshi Yamaguchi Date: Fri, 31 Mar 2017 03:09:20 +0900 Subject: [PATCH] fix: readme * helmet does not contain titleAttributes * avoid duplication of title tags --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 79b79900..44fd26c0 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,6 @@ This `helmet` instance contains the following properties: - `script` - `style` - `title` -- `titleAttributes` Each property contains `toComponent()` and `toString()` methods. Use whichever is appropriate for your environment. For attributes, use the JSX spread operator on the object returned by `toComponent()`. E.g: @@ -114,7 +113,7 @@ const html = ` - ${helmet.title.toString()} + ${helmet.title.toString()} ${helmet.meta.toString()} ${helmet.link.toString()} @@ -136,7 +135,7 @@ function HTML () { return ( - {helmet.title.toComponent()} + {helmet.title.toComponent()} {helmet.meta.toComponent()} {helmet.link.toComponent()}