Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Jones-Griffin committed Sep 16, 2024
1 parent 8b0ed21 commit c0e1120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@mantine/charts/src/ChartTooltip/ChartTooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import classes from './ChartTooltip.module.css';

function updateChartTooltipPayload(payload: Record<string, any>[]): Record<string, any>[] {
return payload.map((item) => {
if(!item.payload || item.payload[item.name]) {
if (!item.payload || item.payload[item.name]) {
return item;
}
const matchFound = item.name.search(/\./);
Expand Down

0 comments on commit c0e1120

Please sign in to comment.