Skip to content

The open alternative to Salesforce, designed for AI.

fix: remove console logs on frontend side (#2030)

Saba Shavidze31d67c109227
diff --git a/front/src/modules/ui/data/data-table/components/DataTableCell.tsx b/front/src/modules/ui/data/data-table/components/DataTableCell.tsx
index 0b3340fb41e..0e9ffe0cdf9 100644
--- a/front/src/modules/ui/data/data-table/components/DataTableCell.tsx
+++ b/front/src/modules/ui/data/data-table/components/DataTableCell.tsx
@@ -37,9 +37,6 @@ export const DataTableCell = ({ cellIndex }: { cellIndex: number }) => {
const updateEntityMutation = useContext(EntityUpdateMutationContext);
- // eslint-disable-next-line no-console
- console.log({ columnDefinition, currentRowId });
-
if (!columnDefinition || !currentRowId) {
return null;
}
diff --git a/front/src/modules/ui/data/data-table/components/DataTableRow.tsx b/front/src/modules/ui/data/data-table/components/DataTableRow.tsx
index d6f8eef9d21..0515d6bc0f4 100644
--- a/front/src/modules/ui/data/data-table/components/DataTableRow.tsx
+++ b/front/src/modules/ui/data/data-table/components/DataTableRow.tsx
@@ -27,8 +27,7 @@ export const DataTableRow = forwardRef<HTMLTableRowElement, DataTableRowProps>(
TableRecoilScopeContext,
);
const { currentRowSelected } = useCurrentRowSelected();
- // eslint-disable-next-line no-console
- console.log({ visibleTableColumns });
+
return (
<StyledRow
ref={ref}
diff --git a/front/src/modules/ui/data/data-table/table-cell/components/TableCell.tsx b/front/src/modules/ui/data/data-table/table-cell/components/TableCell.tsx
index e48383083d7..7d43417d7a0 100644
--- a/front/src/modules/ui/data/data-table/table-cell/components/TableCell.tsx
+++ b/front/src/modules/ui/data/data-table/table-cell/components/TableCell.tsx
@@ -18,9 +18,6 @@ export const TableCell = ({
}) => {
const { fieldDefinition } = useContext(FieldContext);
- // eslint-disable-next-line no-console
- console.log({ fieldDefinition });
-
const { closeTableCell } = useTableCell();
const { moveLeft, moveRight, moveDown } = useMoveSoftFocus();