ui: cleanup logs

This commit is contained in:
nick-delirium 2024-11-29 17:36:28 +01:00
parent 817f039ddc
commit 63085d6ff1
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0
4 changed files with 0 additions and 4 deletions

View file

@ -31,7 +31,6 @@ function BigNumChart(props: Props) {
series: data.namesMap[i],
});
}
console.log(values, data, compData)
return (
<div className={'flex justify-around gap-2 w-full'} style={{ height: 240 }}>
{values.map((val, i) => (

View file

@ -31,7 +31,6 @@ interface Props {
function WidgetDatatable(props: Props) {
const [tableProps, setTableProps] =
useState<TableProps['columns']>(initTableProps);
// console.log(params.density / 7, data.chart)
const data = props.data;
const [showTable, setShowTable] = useState(false);

View file

@ -41,7 +41,6 @@ function FilterValue(props: Props) {
};
const onChange = (e: any, item: any, valueIndex: any) => {
console.log('item', item, valueIndex);
const newValues = filter.value.map((_: any, _index: any) => {
if (_index === valueIndex) {
return item;

View file

@ -296,7 +296,6 @@ export default class Widget {
setData(data: { timestamp: number, [seriesName: string]: number}[], period: any, isComparison?: boolean) {
const _data: any = {};
if (isComparison) {
console.log(data)
data.forEach((point, i) => {
Object.keys(point).forEach((key) => {
if (key === 'timestamp') return;