diff --git a/docs/tutorial.md b/docs/tutorial.md index 46739d60..eb916b7d 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -320,12 +320,14 @@ props_template to skip over the block. ```js import React from 'react' + import { useContent } from '@thoughtbot/superglue' - export default function GreetShow({ - body, - footer, - loadGreetPath - }) { + export default function GreetShow() { + const { + body, + footer, + loadGreetPath + } = useContent() const {greet} = body return (