Skip to content

Commit

Permalink
chore(docs): Tutorial Part 2 - Fix import (#36825)
Browse files Browse the repository at this point in the history
  • Loading branch information
muescha committed Oct 26, 2022
1 parent 878af17 commit 121984f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/tutorial/part-2/index.mdx
Expand Up @@ -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 <Greeting> component
const SayHello = () => {
Expand Down

0 comments on commit 121984f

Please sign in to comment.