Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const mapHeaderCell = (cell, i): React.ReactElement | void => {
switch (cell.type) {
case CellType.TEXT:
return ;
case CellType.REVISION:
return (
);
case CellType.REVISION_DELTA:
return (
.map((cell, i) =>
this._renderTotalCell(
cell,
i,
2,
cell.type === CellType.TEXT ? 'Selected Sum' : undefined,
styles.lastStickyHeader
)
)}