Skip to content

Commit

Permalink
Merge pull request #285 from Propy/dev
Browse files Browse the repository at this point in the history
dev -> main
  • Loading branch information
JayWelsh authored Nov 29, 2024
2 parents 685082a + 133f35f commit 325ffb2
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/components/AccountTokensBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,16 @@ const AccountTokensBanner = (props: IAccountTokensBanner & PropsFromRedux) => {
)
}
</Grid>
{accountTokensDataTanstack?.pagination?.totalPages && accountTokensDataTanstack?.pagination?.totalPages > 1 && showPagination &&
{(accountTokensDataTanstack && accountTokensDataTanstack?.pagination?.totalPages > 1) && showPagination && (
<>
<div className={classes.paginationContainer}>
<Pagination page={page} onChange={(event: any, page: number) => setPage(page)} count={accountTokensDataTanstack?.pagination?.totalPages} variant="outlined" color="primary" />
<Pagination
page={page}
onChange={(event: any, page: number) => setPage(page)}
count={accountTokensDataTanstack?.pagination?.totalPages}
variant="outlined"
color="primary"
/>
</div>
{/* {
paginationTotalRecords &&
Expand All @@ -290,7 +296,7 @@ const AccountTokensBanner = (props: IAccountTokensBanner & PropsFromRedux) => {
</Typography>
} */}
</>
}
)}
</>
)
}
Expand Down

0 comments on commit 325ffb2

Please sign in to comment.