Skip to content

Commit

Permalink
fix: .svelte extension in react readme to -> .tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Molaryy committed Feb 9, 2024
1 parent 61d8584 commit ae298a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Software/day05/React/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ It must contain:
- A `Button` that when clicked, log the values of the email and the password.
- A `Button` to the Register page.

- Create the `src/app/Routes.tsx` file, with a Svelte component containing the Routes inside, called in `src/App.svelte`.
- Create the `src/app/Routes.tsx` file, with a React component containing the Routes inside, called in `src/App.tsx`.

- Finally, update the home page, by adding:
- A `Button` to the Register page.
Expand Down Expand Up @@ -598,7 +598,7 @@ Let's create an Artist page listing all of his musics. 🎵
- Create the following files:
- `src/components/Card/MusicCard.tsx` with the musics's `card` inside, displaying every information about a music except from its `id`.
- `src/components/Button/AddMusicButton.tsx` with the `Add a Music` `button` inside.
- `src/components/Modal/AddMusicModal.tsx` with the `modal` to add a music inside, called in `src/components/Button/AddMusicButton.svelte`.
- `src/components/Modal/AddMusicModal.tsx` with the `modal` to add a music inside, called in `src/components/Button/AddMusicButton.tsx`.

This is not the time to optimize your number of requests to the API. Keep it logical.

Expand Down

0 comments on commit ae298a1

Please sign in to comment.