CodeYourFuture / CodeYourFuture/React-Module-Project

Feature Bookings state

Ouverte
#14 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
🏕 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.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.