Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions website/docs/tutorial/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ struct VideosListProps {
}
```

Then we modify the `VideosList` component to pass the "emit" the selected video to the callback.
Then we modify the `VideosList` component to "emit" the selected video to the callback.

```rust ,ignore {2-4,6-12,15-16}
#[function_component(VideosList)]
Expand All @@ -397,7 +397,7 @@ Then we modify the `VideosList` component to pass the "emit" the selected video
```

Next, we need to modify the usage of `VideosList` to pass that callback. But before doing that, we should create
a new component, `VideoDetails`, component that is displayed when a video is clicked.
a new component, `VideoDetails`, that is displayed when a video is clicked.

```rust
use website_test::tutorial::Video;
Expand Down