Skip to content

Commit 1f8afb7

Browse files
committed
docs(example): applied example changes to the readme
1 parent 7879aec commit 1f8afb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* [Example](#example)
1515
* [Dependencies:](#dependencies)
1616
* [Register with the Hapi server](#register-with-the-hapi-server)
17-
* [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)
17+
* [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)
1818
* [Dependencies for you to provide](#dependencies-for-you-to-provide)
1919
* [Contribution](#contribution)
2020
* [Install dependencies](#install-dependencies)
@@ -94,7 +94,7 @@ export default {
9494
##### Optional custom renderer that passes blankie (optional to provide yourself) nonces as a prop
9595
9696
```javascript
97-
render: (defaultRender, request) => defaultRender({nonces: request.plugins.blankie.nonces})
97+
render: (defaultRender, request) => ({html: defaultRender({nonces: request.plugins.blankie.nonces})})
9898
}
9999
}
100100
]

0 commit comments

Comments
 (0)