From 546208b665707843dda4c50efbc80fc794d544b9 Mon Sep 17 00:00:00 2001 From: __ <8144986+fschr@users.noreply.github.com> Date: Sun, 20 Nov 2022 18:50:04 -0700 Subject: [PATCH] website/docs/tutorial: fix two typos --- website/docs/tutorial/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/tutorial/index.mdx b/website/docs/tutorial/index.mdx index dedd3b450bb..7d00a466c9a 100644 --- a/website/docs/tutorial/index.mdx +++ b/website/docs/tutorial/index.mdx @@ -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)] @@ -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;