update
This commit is contained in:
@@ -15,8 +15,6 @@ const GoodRateChart = (props) => {
|
||||
const [dateType, setDateType] = useState("day");
|
||||
const cutting = useSelector((state) => state.cutting);
|
||||
|
||||
console.log("cutting chart", dateType, cutting.chart[dateType]);
|
||||
|
||||
useEffect(() => {
|
||||
setUpdateKey(Date.now());
|
||||
}, [showMore]);
|
||||
@@ -80,7 +78,6 @@ const GoodRateChart = (props) => {
|
||||
export default GoodRateChart;
|
||||
|
||||
function getOptions(dataList, showMore, dateType) {
|
||||
console.log("showmore", showMore);
|
||||
const list = [...dataList].sort((a, b) => a.dataTime - b.dataTime);
|
||||
// data: Array(7)
|
||||
// .fill(1)
|
||||
|
||||
Reference in New Issue
Block a user