diff --git a/ui/modules/mon-espace/effectifs/engine/EffectifTableContainer.tsx b/ui/modules/mon-espace/effectifs/engine/EffectifTableContainer.tsx deleted file mode 100644 index cfd137518..000000000 --- a/ui/modules/mon-espace/effectifs/engine/EffectifTableContainer.tsx +++ /dev/null @@ -1,55 +0,0 @@ -import { Box, HStack, Text } from "@chakra-ui/react"; -import { UseQueryResult } from "@tanstack/react-query"; -import { useState } from "react"; - -import { DoubleChevrons } from "@/theme/components/icons/DoubleChevrons"; - -import EffectifsTable from "./EffectifsTable"; - -interface EffectifsTableContainerProps { - effectifs: any[]; - modeSifa?: boolean; - canEdit?: boolean; - searchValue?: string; - tableId: string; - formation: any; - refetch: (options: { throwOnError: boolean; cancelRefetch: boolean }) => Promise; -} -const EffectifsTableContainer = ({ - effectifs, - formation, - canEdit, - searchValue, - tableId, - modeSifa, - refetch, - ...props -}: EffectifsTableContainerProps) => { - const [count, setCount] = useState(effectifs.length); - return ( - - {count !== 0 && ( - - - - {formation.libelle_long} - - - [Code diplĂ´me {formation.cfd}] - [Code RNCP {formation.rncp}] - - - )} - setCount(count)} - modeSifa={modeSifa} - refetch={refetch} - /> - - ); -}; - -export default EffectifsTableContainer;