I think this should just render the children of the component (props destructured {children}), instead of requiring the table.. and reuse this across both chartjs graphs and tables
rename it to something like ChartContainer, as it's just a way to get a reference to the parent of whatever we're showing to be able to render it with domtoimage
I think this should just render the children of the component (props destructured {children}), instead of requiring the table.. and reuse this across both chartjs graphs and tables
rename it to something like ChartContainer, as it's just a way to get a reference to the parent of whatever we're showing to be able to render it with domtoimage
changed this line in version 6 of the diff