Implement rocket booking cancelation #38
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @Kidd254
π In this PR, I:
β Create the action: cancelReserve in the rockets reducer to change the reserved status to false on a rocket item
β Create a handle function called handleClickCancelReserve
β Dispatch the action: cancelReserve inside the handleClickCancelReserve function adding the rocket ID as a parameter.
β Add an onClick event on the Cancel Reservation button to call the handleClickCancelReserve function when the user clicks on that button.
β Update the Future Features section README.md file
βTo the code reviewer π¨βπ»
π I really thank πββοΈ you, dear code reviewer π¨βπ¨ for dedicating your precious π₯ time β to check the PR π§Ύ .
I kindly ask π dear code reviewer π€΅ that if there is any kind of issue π¦― in this project, please do list π them in a descriptive π‘ manner and give your best suggestions π if needed.
If you think there are some big issues that are essential to be changed β»οΈ please kindly contact π me through Zoom or Slack, I am available on Microverse UTC-6 time zone.