Skip to content

Commit

Permalink
removed unnecessary config optimisations
Browse files Browse the repository at this point in the history
  • Loading branch information
hollandjake committed Feb 13, 2025
1 parent 2ba0a2a commit 6a077b4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/table/normalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
normalizedDefaultStyle,
normalizedRowStyle,
} from './style';
import { COLUMN_FIELDS, ROW_FIELDS } from './types';

/**
* Normalize a table
Expand Down Expand Up @@ -101,9 +100,6 @@ export function normalizeCell(cell, rowIndex, colIndex) {
// Refetch rowStyle to reflect font changes
rowStyle = this._rowStyle(rowIndex);

COLUMN_FIELDS.forEach((f) => delete colStyle[f]);
ROW_FIELDS.forEach((f) => delete rowStyle[f]);

cell.padding = normalizeSides(cell.padding);
cell.border = normalizeSides(cell.border);
cell.borderColor = normalizeSides(cell.borderColor);
Expand Down

0 comments on commit 6a077b4

Please sign in to comment.