diff --git a/client/src/components/production-board-kanban-card/production-board-kanban-card-color-legend.component.jsx b/client/src/components/production-board-kanban-card/production-board-kanban-card-color-legend.component.jsx index bfdebaf45..e9cc0f4e0 100644 --- a/client/src/components/production-board-kanban-card/production-board-kanban-card-color-legend.component.jsx +++ b/client/src/components/production-board-kanban-card/production-board-kanban-card-color-legend.component.jsx @@ -1,7 +1,9 @@ import { Col, List, Space, Typography } from "antd"; import React from "react"; +import { useTranslation } from "react-i18next"; const CardColorLegend = ({ bodyshop, cardSettings }) => { + const { t } = useTranslation(); const data = bodyshop.ssbuckets.map((size) => ({ label: size.label, color: size.color?.hex ?? "white", @@ -9,7 +11,7 @@ const CardColorLegend = ({ bodyshop, cardSettings }) => { return (