diff --git a/docs/docs/tutorial/part-2/index.mdx b/docs/docs/tutorial/part-2/index.mdx index 02a812d69ff00..f505bd6845bb6 100644 --- a/docs/docs/tutorial/part-2/index.mdx +++ b/docs/docs/tutorial/part-2/index.mdx @@ -344,7 +344,7 @@ The code snippets below show an example of how to pass a prop into a component w * When rendering the `Greeting` component, you pass in the `name` prop with a specific value, like `"Megan"`. You could swap in a different value string each time you render the `Greeting` component. ```javascript:title=src/pages/say-hello.js - import { Greeting } from "../components/greeting" // highlight-line + import Greeting from "../components/greeting" // highlight-line // Rendering the component const SayHello = () => {