diff --git a/10_Sidebar/readme.md b/10_Sidebar/readme.md index bebad6b..988e8ae 100644 --- a/10_Sidebar/readme.md +++ b/10_Sidebar/readme.md @@ -134,6 +134,12 @@ _./src/index.html_ + ``` +_./src/main.tsx_ + +```diff ++ document.getElementById('main') +``` + - Let's place the component adding it into the `app.tsx`: _./src/app.tsx_ diff --git a/10_Sidebar/readme_es.md b/10_Sidebar/readme_es.md index 7451f99..fcc6822 100644 --- a/10_Sidebar/readme_es.md +++ b/10_Sidebar/readme_es.md @@ -133,6 +133,12 @@ _./src/index.html_ + ``` +_./src/main.tsx_ + +```diff ++ document.getElementById('main') +``` + - Situemos el componente aƱadiendolo dentro de `app.tsx`: _./src/app.tsx_