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 Aug 3, 2024
1 parent d925d0c commit f68263c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/table-core/src/core/column.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ export function createColumn<TData extends RowData, TValue>(

let id =
resolvedColumnDef.id ??
(accessorKey ? (
typeof String.prototype.replaceAll === 'function'
(accessorKey
? typeof String.prototype.replaceAll === 'function'
? accessorKey.replaceAll('.', '_')
: accessorKey.replace(/\./g, '_')
) : undefined) ??
: undefined) ??
(typeof resolvedColumnDef.header === 'string'
? resolvedColumnDef.header
: undefined)
Expand Down

0 comments on commit f68263c

Please sign in to comment.