mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-07-29 15:11:55 +00:00
Updated to react-chartjs-2 3.3
This commit is contained in:
@@ -113,8 +113,8 @@ export const HorizontalBarChart: FC<HorizontalBarChartProps> = (
|
||||
const renderChartComponent = (customKey: string) => (
|
||||
<Bar
|
||||
key={`${height}_${customKey}`}
|
||||
data={chartData}
|
||||
options={options}
|
||||
data={chartData as any}
|
||||
options={options as any}
|
||||
height={height}
|
||||
getElementAtEvent={chartElementAtEvent(labels, onClick) as any}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user