In this milestone of the Space-Travelers-Hub project, I implemented the following:
Added the actions and reducers for dragon reservation.
Added the actions and reducers for canceling the dragon reservation.
Using conditional components rendering, I made sure that:
💠Dragons that have already been reserved should show a "Reserved" badge and a "Cancel reservation" button.
💠Dragons that have not been reserved should show a "Reserve dragon" button (as per design).
In this milestone of the Space-Travelers-Hub project, I implemented the following: