Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Remove unused prop
Browse files Browse the repository at this point in the history
  • Loading branch information
khelif96 committed Jan 10, 2024
1 parent fb0e788 commit f47637f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/components/Table/BaseTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ declare module "@tanstack/table-core" {
}

type SpruceTableProps = {
className?: string;
"data-cy-row"?: string;
"data-cy-table"?: string;
emptyComponent?: React.ReactNode;
Expand All @@ -60,7 +59,6 @@ type SpruceTableProps = {
export const BaseTable = forwardRef(
(
{
className,
"data-cy-row": dataCyRow,
"data-cy-table": dataCyTable,
emptyComponent,
Expand All @@ -77,13 +75,7 @@ export const BaseTable = forwardRef(

return (
<>
<StyledTable
data-cy={dataCyTable}
table={table}
className={className}
ref={ref}
{...args}
>
<StyledTable data-cy={dataCyTable} table={table} ref={ref} {...args}>
<TableHead>
{table.getHeaderGroups().map((headerGroup) => (
<HeaderRow key={headerGroup.id}>
Expand Down

0 comments on commit f47637f

Please sign in to comment.