diff --git a/src/components/Profile.jsx b/src/components/Profile.jsx index abe2b7e..7595fcd 100644 --- a/src/components/Profile.jsx +++ b/src/components/Profile.jsx @@ -6,11 +6,27 @@ function Profile() { const { rockets } = useSelector((state) => state.rockets); const reservedRockets = rockets.filter((rocket) => rocket.reserved); + const { missions } = useSelector((state) => state.missions); + const joinedMission = missions.filter((mission) => mission.join); + return (
+ {mission.mission_name} +
+ )) + } +There is no joined mission.
}