mirror of
https://github.com/Paris-est-Ludique/intranet.git
synced 2025-09-11 13:56:29 +02:00
create team assignment page
This commit is contained in:
14
src/components/TeamAssignment/TeamAssignment.tsx
Normal file
14
src/components/TeamAssignment/TeamAssignment.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { FC, memo } from "react"
|
||||
import ContentTitle from "../ui/Content/ContentTitle"
|
||||
import withUserConnected from "../../utils/withUserConnected"
|
||||
import { fetchTeamListIfNeed } from "../../store/teamList"
|
||||
|
||||
const TeamAssignment: FC = (): JSX.Element => (
|
||||
<>
|
||||
<ContentTitle title="Affectation aux équipes" />
|
||||
</>
|
||||
)
|
||||
|
||||
export default memo(withUserConnected(TeamAssignment))
|
||||
|
||||
export const fetchFor = [fetchTeamListIfNeed]
|
7
src/components/TeamAssignment/styles.module.scss
Executable file
7
src/components/TeamAssignment/styles.module.scss
Executable file
@@ -0,0 +1,7 @@
|
||||
@import "../../theme/variables";
|
||||
@import "../../theme/mixins";
|
||||
|
||||
.title {
|
||||
padding-bottom: 10px;
|
||||
font-weight: bold;
|
||||
}
|
@@ -12,6 +12,7 @@ import ParticipationDetailsForm, {
|
||||
fetchFor as fetchForParticipationDetailsForm,
|
||||
} from "./VolunteerBoard/ParticipationDetailsForm/ParticipationDetailsForm"
|
||||
import PreRegisterForm from "./PreRegisterForm"
|
||||
import TeamAssignment, { fetchFor as fetchForTeamAssignment } from "./TeamAssignment/TeamAssignment"
|
||||
import TeamWishesForm, {
|
||||
fetchFor as fetchForTeamWishesForm,
|
||||
} from "./VolunteerBoard/TeamWishesForm/TeamWishesForm"
|
||||
@@ -35,6 +36,8 @@ export {
|
||||
ParticipationDetailsForm,
|
||||
fetchForParticipationDetailsForm,
|
||||
PreRegisterForm,
|
||||
TeamAssignment,
|
||||
fetchForTeamAssignment,
|
||||
TeamWishesForm,
|
||||
fetchForTeamWishesForm,
|
||||
VolunteerInfo,
|
||||
|
Reference in New Issue
Block a user