history table list adjusted and wallet display fixed

This commit was merged in pull request #749.
This commit is contained in:
victorAnumudu
2024-07-09 15:26:46 +01:00
parent f880afabb0
commit 9b0ff4a1e6
8 changed files with 63 additions and 55 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
const PaginatedList = ({ onClick, prev, next, data, start, stop }) => {
const PaginatedList = ({ onClick, prev, next, data, start, stop, borderTop=true }) => {
if (data?.length > process.env.REACT_APP_ITEM_PER_PAGE) {
return (
<div className="p-3 flex justify-center items-center min-h-[70px] space-x-2 border-t-2 w-full">
<div className={`p-3 flex justify-center items-center min-h-[70px] space-x-2 w-full ${borderTop ? 'border-t-2' : 'border-t-0'}`}>
{/* Render pagination buttons */}
{!prev && (
<button