Feature Bookings state #14
Labels
🧩 Feature
🏕 Priority Mandatory
This work is expected
🐇 Size Small
Around an hour
📅 Week 2
Assigned during Week 2 of this module
Instructions:
In the
<Bookings />
component, declare a new statebookings
with the corresponding setter functionsetBookings
to hold theFakeBookings
data. Instead of passingFakeBookings
directly to the<SearchResults />
component, pass the newbookings
state variable.Hint: The new
bookings
state should be initialised with theFakeBookings
variable.Test:
The text was updated successfully, but these errors were encountered: