Implemented BOD-22 removing from production board. No automation surrounding it at this time.
This commit is contained in:
@@ -1,16 +1,7 @@
|
||||
import React, { useState } from "react";
|
||||
import { connect } from "react-redux";
|
||||
import { createStructuredSelector } from "reselect";
|
||||
import { selectBodyshop } from "../../redux/user/user.selectors";
|
||||
import { Pie } from "@nivo/pie";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import React from "react";
|
||||
|
||||
const mapStateToProps = createStructuredSelector({
|
||||
bodyshop: selectBodyshop,
|
||||
});
|
||||
|
||||
export function PartsStatusPie({ partsList }) {
|
||||
const { t } = useTranslation();
|
||||
export default function PartsStatusPie({ partsList }) {
|
||||
//const [pieData, setPieData] = useState([]);
|
||||
|
||||
const result = partsList
|
||||
@@ -40,4 +31,3 @@ export function PartsStatusPie({ partsList }) {
|
||||
|
||||
return <Pie {...commonProperties} data={pieData} innerRadius={0.5} />;
|
||||
}
|
||||
export default connect(mapStateToProps, null)(PartsStatusPie);
|
||||
|
||||
Reference in New Issue
Block a user