forked from CodeYourFuture/React-Module-Project
-
Notifications
You must be signed in to change notification settings - Fork 1
Feature Bookings state #16
Copy link
Copy link
Open
Description
Activity
Metadata
Metadata
Assignees
Projects
- StatusShow more project fields✅ Done
From React-Module-Project created by SallyMcGrath: CodeYourFuture#14
Instructions:
In the
<Bookings />component, declare a new statebookingswith the corresponding setter functionsetBookingsto hold theFakeBookingsdata. Instead of passingFakeBookingsdirectly to the<SearchResults />component, pass the newbookingsstate variable.Hint: The new
bookingsstate should be initialised with theFakeBookingsvariable.Test: