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

[1pt] Switch badges for Missions - Conditional components #6

Closed
NitBravoA92 opened this issue Jul 23, 2023 · 1 comment
Closed

[1pt] Switch badges for Missions - Conditional components #6

NitBravoA92 opened this issue Jul 23, 2023 · 1 comment

Comments

@NitBravoA92
Copy link
Owner

Missions that the user has joined already should show a badge "Active Member" instead of the default "NOT A MEMBER" and a button "Leave Mission" instead of the "Join Mission" button (as per design).

Use the React conditional rendering syntax:

{rocket.reserved && ( 
    // render Cancel Rocket button
)}
@Kidd254
Copy link
Collaborator

Kidd254 commented Jul 25, 2023

This is the link to the pull request #39

@Kidd254 Kidd254 moved this from In progress to In review in [TEMPLATE] React Group Project Jul 25, 2023
@NitBravoA92 NitBravoA92 moved this from In review to Done in [TEMPLATE] React Group Project Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants