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

fix: remove console logs
This commit is contained in:
Saba Shavidze 2023-10-15 18:34:07 +04:00 committed by GitHub
parent 9296443e34
commit 31d67c1092
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 8 deletions

View File

@ -37,9 +37,6 @@ export const DataTableCell = ({ cellIndex }: { cellIndex: number }) => {
const updateEntityMutation = useContext(EntityUpdateMutationContext); const updateEntityMutation = useContext(EntityUpdateMutationContext);
// eslint-disable-next-line no-console
console.log({ columnDefinition, currentRowId });
if (!columnDefinition || !currentRowId) { if (!columnDefinition || !currentRowId) {
return null; return null;
} }

View File

@ -27,8 +27,7 @@ export const DataTableRow = forwardRef<HTMLTableRowElement, DataTableRowProps>(
TableRecoilScopeContext, TableRecoilScopeContext,
); );
const { currentRowSelected } = useCurrentRowSelected(); const { currentRowSelected } = useCurrentRowSelected();
// eslint-disable-next-line no-console
console.log({ visibleTableColumns });
return ( return (
<StyledRow <StyledRow
ref={ref} ref={ref}

View File

@ -18,9 +18,6 @@ export const TableCell = ({
}) => { }) => {
const { fieldDefinition } = useContext(FieldContext); const { fieldDefinition } = useContext(FieldContext);
// eslint-disable-next-line no-console
console.log({ fieldDefinition });
const { closeTableCell } = useTableCell(); const { closeTableCell } = useTableCell();
const { moveLeft, moveRight, moveDown } = useMoveSoftFocus(); const { moveLeft, moveRight, moveDown } = useMoveSoftFocus();