Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
mckervinc committed Dec 19, 2024
1 parent 2680295 commit 45f0ee7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-fluid-table",
"version": "1.2.2",
"version": "1.2.3",
"description": "A React table inspired by @tanstack/react-virtual",
"author": "Mckervin Ceme <[email protected]>",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type InnerFooterCellProps<T> = {
rows: T[];
};

function BaseFooterCell<T>({ prevWidth, rows, ...rest }: InnerFooterCellProps<T>) {
function BaseFooterCell<T>({ prevWidth, ...rest }: InnerFooterCellProps<T>) {
// instance
const { width, column } = rest;
const style: React.CSSProperties = {
Expand All @@ -21,7 +21,7 @@ function BaseFooterCell<T>({ prevWidth, rows, ...rest }: InnerFooterCellProps<T>

return (
<div className={cx("cell", column.frozen && "frozen")} style={style}>
{!!column.footer && <column.footer rows={rows} {...rest} />}
{!!column.footer && <column.footer {...rest} />}
</div>
);
}
Expand Down
2 changes: 0 additions & 2 deletions src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,4 @@ function Header<T>({
);
}

Header.displayName = "Header";

export default Header;

0 comments on commit 45f0ee7

Please sign in to comment.