diff --git a/docs/tutorial.md b/docs/tutorial.md index d8671e20..c6859d52 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -65,11 +65,14 @@ Click the tabs below to see the contents: ```js import React from 'react' + import { useContent } from '@thoughtbot/superglue'; - export default function GreetShow({ - body, - footer - }) { + export default function GreetShow() { + const { + body, + footer + } = useContent(); + const {greet} = body return (