Skip to content

Commit 8b47274

Browse files
Miguel Angel Chimali CobanoMiguel Angel Chimali Cobano
authored andcommitted
minor correction
1 parent c2f25d9 commit 8b47274

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

04-frameworks/01-react/02-base/03-list-users/readme.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,18 +149,13 @@ body {
149149

150150
In order to be able to use our styles, we must import them into our project:
151151

152-
_./index.tsx_
152+
\__./src/index.tsx_
153153

154154
```diff
155155
import React from "react";
156156
import { createRoot } from "react-dom/client";
157157
import { App } from "./app";
158158
+ import "./styles.css";
159-
160-
const container = document.getElementById("root");
161-
const root = createRoot(container);
162-
163-
root.render(<App />);
164159
```
165160

166161
- And let's integrate it in our app component:

04-frameworks/01-react/02-base/03-list-users/readme_es.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,18 +157,13 @@ body {
157157

158158
Para poder usar los estilos tenemos que importarlos dentro de nuestro proyecto:
159159

160-
_./index.tsx_
160+
\__./src/index.tsx_
161161

162162
```diff
163163
import React from "react";
164164
import { createRoot } from "react-dom/client";
165165
import { App } from "./app";
166166
+ import "./styles.css";
167-
168-
const container = document.getElementById("root");
169-
const root = createRoot(container);
170-
171-
root.render(<App />);
172167
```
173168

174169
- Y vamos a integrarlo en el componente de nuestra aplicación:

0 commit comments

Comments
 (0)