diff --git a/front/src/modules/rollingStock/components/RollingStockCard/RollingStockCard.tsx b/front/src/modules/rollingStock/components/RollingStockCard/RollingStockCard.tsx index 9ae4e3f910a..6fec55a2e05 100644 --- a/front/src/modules/rollingStock/components/RollingStockCard/RollingStockCard.tsx +++ b/front/src/modules/rollingStock/components/RollingStockCard/RollingStockCard.tsx @@ -51,7 +51,7 @@ const RollingStockCard = ({ } }); return { ...localModes, voltages: localVoltages }; - }, []); + }, [rollingStock.effort_curves.modes]); function displayCardDetail() { if (!isOpen) {