fixing typescript error during production build

Adjust chart components (Overview, PieChart) for sizing and safer typings/casting; add v1.2.0 release note. Remove several obsolete dummy/old task pages and the useDummyTaskData hook. Also include minor fixes to FormClient and DonutChart/performance pages.
This commit is contained in:
Ichsan Kurniawan
2026-04-23 21:36:42 +07:00
parent 80cb73f7fa
commit a160eccddf
12 changed files with 16 additions and 1829 deletions
@@ -64,7 +64,7 @@ const DonutChart: FC<Props> = ({ data, labels, colors }) => {
enabled: true,
formatter: function (val: any, opts) {
// console.log(opts)
return opts.w.globals.labels[opts.seriesIndex] + ': ' + opts.w.globals.series[opts.seriesIndex]
return opts?.w.globals.labels[opts.seriesIndex] + ': ' + opts?.w.globals.series[opts.seriesIndex]
// return opts.w.globals.series[opts.seriesIndex]
},
},