Skip to content

Commit

Permalink
remove config
Browse files Browse the repository at this point in the history
  • Loading branch information
vitPinchuk committed Feb 7, 2025
1 parent 57173b6 commit 34d7eb1
Showing 1 changed file with 1 addition and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,24 +88,8 @@ export const GaugeCellRenderer: React.FC<Props> = ({ value, field, bgColor, conf
};
}

/**
* Custom configuration for gauge
*/
if (!currentConfig.custom) {
currentConfig = {
...currentConfig,
custom: {
align: 'auto',
cellOptions: {
mode: config.gauge.mode,
type: 'gauge',
},
inspect: false,
},
};
}
return currentConfig;
}, [config.gauge.mode, field]);
}, [field]);

const displayValue = useMemo(() => {
/**
Expand Down

0 comments on commit 34d7eb1

Please sign in to comment.