forked from CodeYourFuture/React-Module-Project
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
🏕 Priority MandatoryThis work is expectedThis work is expected🐇 Size SmallAround an hourAround an hour📅 Week 2Assigned during Week 2 of this moduleAssigned during Week 2 of this module🧩 Feature
Description
Instructions:
In the <Bookings /> component, declare a new state bookings with the corresponding setter function setBookings to hold the FakeBookings data. Instead of passing FakeBookings directly to the <SearchResults /> 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🏕 Priority MandatoryThis work is expectedThis work is expected🐇 Size SmallAround an hourAround an hour📅 Week 2Assigned during Week 2 of this moduleAssigned during Week 2 of this module🧩 Feature