From 8dfebaa6b159eb414eb2bb9244428bd09ea2d1c7 Mon Sep 17 00:00:00 2001 From: Hamza Date: Wed, 13 Dec 2023 00:51:14 +0100 Subject: [PATCH] Remove unecessary console logs --- src/app/datasources/page.tsx | 4 ---- src/components/Datasources/Table.tsx | 2 -- src/components/Datasources/TablePagination.tsx | 2 -- 3 files changed, 8 deletions(-) diff --git a/src/app/datasources/page.tsx b/src/app/datasources/page.tsx index 071785b2..d2d7d106 100644 --- a/src/app/datasources/page.tsx +++ b/src/app/datasources/page.tsx @@ -43,9 +43,6 @@ function DatasourcesPage() { }) }, [pagination.currentPage, pagination.pageSize]) - console.log('data: ', data) - console.log('pagination: ', pagination) - const handlePageChange = (newPage: number) => { setPagination((prevState) => ({ ...prevState, currentPage: newPage })) } @@ -73,7 +70,6 @@ function DatasourcesPage() {
- {' '}
{data ? ( = ({ initialData, pagination, onPage const router = useRouter() const [data, setData] = useState(initialData) - console.log('TableData: ', data) - useEffect(() => { setData(initialData) }, [initialData]) diff --git a/src/components/Datasources/TablePagination.tsx b/src/components/Datasources/TablePagination.tsx index 5f89b27e..a89351a8 100644 --- a/src/components/Datasources/TablePagination.tsx +++ b/src/components/Datasources/TablePagination.tsx @@ -29,8 +29,6 @@ const Pagination: React.FC = ({ return (
- {' '} - {/* Removed shadow-lg and added bg-transparent */}
Page {currentPage} of {totalPages}