src/components/Menu/ReportSummary.tsx
Function PieChart
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function PieChart(props: Props): JSX.Element {
const options = {
animation: {
duration: 0,
},
Function ReportSummary
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function ReportSummary(props: ReportSummaryProps): JSX.Element {
const [mode, setMode] = useMode()
const manager = useTaskManager()
const root = manager.getRoot()
const analytics = useAnalytics()