Skip to content
Open
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions 10_Sidebar/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ _./src/index.html_
+ <body id="main">
```

_./src/main.tsx_

```diff
+ document.getElementById('main')
```

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This main and the change above (<body id="main">) has no sense and should be removed from readme. It also was not implemented in code. Could you remove it please?

Apply the same change on ES readme 🙏

- Let's place the component adding it into the `app.tsx`:

_./src/app.tsx_
Expand Down
6 changes: 6 additions & 0 deletions 10_Sidebar/readme_es.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ _./src/index.html_
+ <body id="main">
```

_./src/main.tsx_

```diff
+ document.getElementById('main')
```

- Situemos el componente añadiendolo dentro de `app.tsx`:

_./src/app.tsx_
Expand Down