Skip to content

Commit 1b417ba

Browse files
authored
Merge pull request #3735 from v1shnu-star/v1-branch
Update part1a.md
2 parents 4d52b3f + 4e5ecf3 commit 1b417ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/1/en/part1a.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ const App = () => {
679679
export default App
680680
```
681681

682-
and remove the extra files App.css and index.css, also remove the directory assets.
682+
and remove the extra files <i>App.css</i> and <i>index.css</i>, also remove the directory <i>assets</i>.
683683

684684
Unfortunately, the entire application is in the same component. Refactor the code so that it consists of three new components: <i>Header</i>, <i>Content</i>, and <i>Total</i>. All data still resides in the <i>App</i> component, which passes the necessary data to each component using <i>props</i>. <i>Header</i> takes care of rendering the name of the course, <i>Content</i> renders the parts and their number of exercises and <i>Total</i> renders the total number of exercises.
685685

0 commit comments

Comments
 (0)