docs: Fix diff in the tutorial (#2466)

* docs: Fix diff in the tutorial

* Fix ignore lines
This commit is contained in:
Kenjiro Nakayama 2022-02-23 06:45:12 +09:00 committed by GitHub
parent df21e3d87c
commit da01ceb27f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -403,7 +403,7 @@ fn video_details(VideosDetailsProps { video }: &VideosDetailsProps) -> Html {
Now, modify the `App` component to display `VideoDetails` component whenever a video is selected.
```rust ,ignore {4,6-11,13-15,24-29}
```rust ,ignore {4,6-11,13-15,22-23,25-29}
#[function_component(App)]
fn app() -> Html {
// ...
@ -433,7 +433,7 @@ fn app() -> Html {
- <h3>{ "John Doe: Building and breaking things" }</h3>
- <img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
- </div>
- </>
</>
}
}
```