CodeYourFuture / CodeYourFuture/React-Module-Project
Feature Bookings state
Ouverte
🏕 Priority Mandatory
🐇 Size Small
📅 Week 2
🧩 Feature
- Langage dominant
- JavaScript
- Étoiles
- 1
- Forks
- 28
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
**Instructions:**
In the `` component, declare a new state `bookings` with the corresponding setter function `setBookings` to hold the `FakeBookings` data. Instead of passing `FakeBookings` directly to the `` component, pass the new `bookings` state variable.
**Hint:** The new `bookings` state should be initialised with the `FakeBookings` variable.
**Test:**
- [ ] The bookings are still rendered correctly in the page.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.