From 9d4cabe34d4cc1e86adda2871fd3a8f0eadbd3fb Mon Sep 17 00:00:00 2001 From: SarthakDudhe Date: Sun, 28 Jun 2026 11:47:11 +0530 Subject: [PATCH] fix: replace placeholder handlePagination with a no-op default prop function --- client/app/components/Table/AdminTable.jsx | 3 +-- client/app/components/Table/NewTable.jsx | 3 +-- client/app/components/Table/Table.jsx | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/client/app/components/Table/AdminTable.jsx b/client/app/components/Table/AdminTable.jsx index a49b8bc9..5b1530c9 100644 --- a/client/app/components/Table/AdminTable.jsx +++ b/client/app/components/Table/AdminTable.jsx @@ -143,8 +143,7 @@ function CustomTable({ ...props }) { CustomTable.defaultProps = { tableHeaderColor: 'gray', - handlePagination: () => - console.log('todo: make handlePagination function!!!'), + handlePagination: () => {}, }; CustomTable.propTypes = { diff --git a/client/app/components/Table/NewTable.jsx b/client/app/components/Table/NewTable.jsx index cfc65a92..44c378e4 100644 --- a/client/app/components/Table/NewTable.jsx +++ b/client/app/components/Table/NewTable.jsx @@ -422,8 +422,7 @@ function CustomTable({ CustomTable.defaultProps = { tableHeaderColor: 'gray', - handlePagination: () => - console.log('todo: make handlePagination function!!!'), + handlePagination: () => {}, }; export default CustomTable; diff --git a/client/app/components/Table/Table.jsx b/client/app/components/Table/Table.jsx index 9dc861fc..2e55ac3b 100644 --- a/client/app/components/Table/Table.jsx +++ b/client/app/components/Table/Table.jsx @@ -143,8 +143,7 @@ function CustomTable({ ...props }) { CustomTable.defaultProps = { tableHeaderColor: 'gray', - handlePagination: () => - console.log('todo: make handlePagination function!!!'), + handlePagination: () => {}, }; CustomTable.propTypes = {