Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TECH ED] Feature Bookings state #14 #32

Open
4 tasks
zelihapala opened this issue May 3, 2024 · 0 comments
Open
4 tasks

[TECH ED] Feature Bookings state #14 #32

zelihapala opened this issue May 3, 2024 · 0 comments

Comments

@zelihapala
Copy link
Owner

From React-Module-Project created by zelihapala: #31

Link to the coursework

https://github.com/orgs/CodeYourFuture/projects/152/views/1?pane=issue&itemId=48327443

Why are we doing this?

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.

Maximum time in hours

1

How to get help

No response

How to submit

no

How to review

No response

Anything else?

no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant