mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-06 16:36:29 +00:00
fixing bug
This commit is contained in:
@@ -21,7 +21,7 @@ const DonutChart: FC<Props> = ({ data, labels, colors }) => {
|
||||
events: {
|
||||
click(e, chart, options) {
|
||||
// const { seriesIndex, dataPointIndex } = options
|
||||
const { selectedDataPoints } = options.globals
|
||||
const { selectedDataPoints } = options?.globals
|
||||
// console.log(selectedDataPoints)
|
||||
if (selectedDataPoints.length > 0) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user