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

Cancel Rocket Booking #35

Merged
merged 8 commits into from Mar 10, 2022
Merged

Cancel Rocket Booking #35

merged 8 commits into from Mar 10, 2022

Conversation

tresorsawasawa
Copy link
Owner

@tresorsawasawa tresorsawasawa commented Mar 10, 2022

  • Implement CANCEL_ROCKET_BOOKING action
  • Added functionality when a user clicks the "Cancel Reservation" button, action is dispatched to update the store, get the ID of the reserved rocket and update the state.
  • Return a new state object with all rockets, but the selected rocket has an extra key reserved with its value set to true.
  • Use map() to set the value of the new state.
  • Dispatch the action with the correct rocket ID as an argument.

Copy link
Collaborator

@Kandy-Peter Kandy-Peter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HELLO @Kandy-Peter 👋,

Your project is complete! There is nothing else to say other than... it's time to merge it :shipit:

Congratulations! 🎉 🎉 🎉 🎉 🎉,

Cheers and Happy coding!👏👏👏

200


As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

@tresorsawasawa tresorsawasawa merged commit d7e3ed1 into development Mar 10, 2022
@tresorsawasawa tresorsawasawa deleted the cancel-book-rocket branch March 10, 2022 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants