Skip to content

Commit 546208b

Browse files
authored
website/docs/tutorial: fix two typos
1 parent 5355b65 commit 546208b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs/tutorial/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ struct VideosListProps {
372372
}
373373
```
374374

375-
Then we modify the `VideosList` component to pass the "emit" the selected video to the callback.
375+
Then we modify the `VideosList` component to "emit" the selected video to the callback.
376376

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

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

402402
```rust
403403
use website_test::tutorial::Video;

0 commit comments

Comments
 (0)