Skip to content

Commit

Permalink
Remove extra lines
Browse files Browse the repository at this point in the history
  • Loading branch information
nidaqg committed Nov 6, 2024
1 parent b772ed9 commit e17cbd8
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const AdvancedTable = (props: AdvancedTableProps) => {

const columnHelper = createColumnHelper()

//Create cells for first columns
//Create cells for columns, with customization for first column
const createCellFunction = (cellAccessors: string[], customRenderer?: (row: Row<GenericObject>, value: any) => JSX.Element, index:number) => {
const columnCells = ({
row,
Expand Down Expand Up @@ -133,14 +133,10 @@ const AdvancedTable = (props: AdvancedTableProps) => {
return customRenderer
? customRenderer(row, getValue())
: getValue()

}

return columnCells
}




// //Create column array in format needed by Tanstack
const columns =
columnDefinitions &&
Expand Down

0 comments on commit e17cbd8

Please sign in to comment.