issues
search
a-laarabi
/
spaceTravelers-Hub
MIT License
1
stars
0
forks
source link
Implement mission joining and leaving - Actions
#34
Closed
a-laarabi
closed
1 year ago
a-laarabi
commented
1 year ago
What?
When a user clicks the "Join Mission" button, an action is dispatched to update the store.
When a user clicks the "Leave Mission" button, an action is dispatched to update the store.
highlights 🔥
I placed all my logic in the reducer.
I despatched the action with the correct rocket ID as an argument.
I set the reserved key to false.
What?
highlights 🔥