Skip to content

Commit

Permalink
ci: apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Oct 23, 2024
1 parent 57602b3 commit c7eeb5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
1 change: 0 additions & 1 deletion packages/table-core/src/core/columns/Columns.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,3 @@ export function table_getColumn<

return column
}

19 changes: 4 additions & 15 deletions packages/table-core/src/core/rows/Rows.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ import type { Cell } from '../../types/Cell'
export function row_getValue<
TFeatures extends TableFeatures,
TData extends RowData,
>(
row: Row<TFeatures, TData>,
columnId: string,
) {
>(row: Row<TFeatures, TData>, columnId: string) {
if (row._valuesCache.hasOwnProperty(columnId)) {
return row._valuesCache[columnId]
}
Expand All @@ -31,10 +28,7 @@ export function row_getValue<
export function row_getUniqueValues<
TFeatures extends TableFeatures,
TData extends RowData,
>(
row: Row<TFeatures, TData>,
columnId: string,
) {
>(row: Row<TFeatures, TData>, columnId: string) {
if (row._uniqueValuesCache.hasOwnProperty(columnId)) {
return row._uniqueValuesCache[columnId]
}
Expand All @@ -61,10 +55,7 @@ export function row_getUniqueValues<
export function row_renderValue<
TFeatures extends TableFeatures,
TData extends RowData,
>(
row: Row<TFeatures, TData>,
columnId: string,
) {
>(row: Row<TFeatures, TData>, columnId: string) {
return row.getValue(columnId) ?? row.table.options.renderFallbackValue
}

Expand Down Expand Up @@ -101,9 +92,7 @@ export function row_getParentRows<
export function row_getAllCells<
TFeatures extends TableFeatures,
TData extends RowData,
>(
row: Row<TFeatures, TData>,
): Array<Cell<TFeatures, TData, unknown>> {
>(row: Row<TFeatures, TData>): Array<Cell<TFeatures, TData, unknown>> {
return row.table.getAllLeafColumns().map((column) => {
return constructCell(column, row, row.table)
})
Expand Down

0 comments on commit c7eeb5b

Please sign in to comment.