+
+ Equipe {team.name} ({team.volunteers.length}) :
+
+
+ {team.volunteers.map(({ id, lastname, firstname, teamWishes }) => (
+ -
+
+ {firstname} {lastname}
+ {" "}
+ : {teamWishes.join(", ")}
+
+ ))}
+
+
+ )
+}
+
+export default memo(TeamWithCandidates)
diff --git a/src/components/TeamAssignment/TeamsWithCandidates.tsx b/src/components/TeamAssignment/TeamsWithCandidates.tsx
new file mode 100644
index 0000000..bd52c66
--- /dev/null
+++ b/src/components/TeamAssignment/TeamsWithCandidates.tsx
@@ -0,0 +1,28 @@
+import { FC, memo, useState } from "react"
+import { useSelector } from "react-redux"
+import { selectTeamList } from "../../store/teamList"
+import TeamWithCandidates from "./TeamWithCandidates"
+import styles from "./styles.module.scss"
+
+const TeamsWithCandidates: FC = (): JSX.Element => {
+ const teams = useSelector(selectTeamList)
+ const [currentTeam, setCurrentTeam] = useState