Skip to content

Commit

Permalink
docs(example): applied example changes to the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Mar 2, 2020
1 parent 7879aec commit 1f8afb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* [Example](#example)
* [Dependencies:](#dependencies)
* [Register with the Hapi server](#register-with-the-hapi-server)
* [Optional custom renderer that passes blankie (optional to provide yourself) nonces as a prop](#optional-custom-renderer-that-passes-blankie-optional-to-provide-yourself-nonces-as-a-prop)
* [Optional custom renderer that passes blankie (optional to provide yourself) nonces as a prop](#optional-custom-renderer-that-passes-blankie-optional-to-provide-yourself-nonces-as-a-prop)
* [Dependencies for you to provide](#dependencies-for-you-to-provide)
* [Contribution](#contribution)
* [Install dependencies](#install-dependencies)
Expand Down Expand Up @@ -94,7 +94,7 @@ export default {
##### Optional custom renderer that passes blankie (optional to provide yourself) nonces as a prop
```javascript
render: (defaultRender, request) => defaultRender({nonces: request.plugins.blankie.nonces})
render: (defaultRender, request) => ({html: defaultRender({nonces: request.plugins.blankie.nonces})})
}
}
]
Expand Down

0 comments on commit 1f8afb7

Please sign in to comment.