From 45f0ee7fe0604a97e64874e539b47baad9d3222a Mon Sep 17 00:00:00 2001 From: mckervinc Date: Thu, 19 Dec 2024 14:10:37 -0500 Subject: [PATCH] remove unused --- package.json | 2 +- src/components/Footer.tsx | 4 ++-- src/components/Header.tsx | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 1b1700c..cb5a161 100644 --- a/package.json +++ b/package.json @@ -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 ", "license": "MIT", diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 2b703ca..a455196 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -9,7 +9,7 @@ type InnerFooterCellProps = { rows: T[]; }; -function BaseFooterCell({ prevWidth, rows, ...rest }: InnerFooterCellProps) { +function BaseFooterCell({ prevWidth, ...rest }: InnerFooterCellProps) { // instance const { width, column } = rest; const style: React.CSSProperties = { @@ -21,7 +21,7 @@ function BaseFooterCell({ prevWidth, rows, ...rest }: InnerFooterCellProps return (
- {!!column.footer && } + {!!column.footer && }
); } diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 94eb29f..cd85d5e 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -136,6 +136,4 @@ function Header({ ); } -Header.displayName = "Header"; - export default Header;