import React from "react"; import {StyledTableCell, StyledTableContainer, StyledTableRow} from "../../Component/StyledTable"; import {Table, TableBody, TableHead} from "@mui/material"; import intl from "react-intl-universal"; import {useAppSelector} from "../../../store/hooks"; import {selectQualityMonitorEntity} from "../../../store/QualityMonitorEntity"; function LeftTableMonthQ() { const AllData = useAppSelector(selectQualityMonitorEntity); const QualityAll = AllData.monthQualityAll; const SlicedQualityAll = QualityAll.slice(0, 10) return ( {intl.get('serialNo')} {intl.get('DefectType')} {intl.get('DefectNumber')} {SlicedQualityAll.map((item, index) => ( {item.sort} {item.content} {item.num} ))}
) } export default LeftTableMonthQ;