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;