change(ui) - live list pagination

This commit is contained in:
Shekar Siri 2022-08-11 12:01:36 +02:00
parent be91fa3fb8
commit c1bbeb61c0

View file

@ -151,18 +151,18 @@ function LiveSessionList(props: Props) {
</>
))}
</div>
<div className={cn('w-full flex items-center justify-center py-6', { disabled: loading })}>
<Pagination
page={currentPage}
totalPages={Math.ceil(total / PER_PAGE)}
onPageChange={(page: any) => props.updateCurrentPage(page)}
limit={PER_PAGE}
debounceRequest={500}
/>
</div>
</NoContent>
</Loader>
<div className={cn('w-full flex items-center justify-center py-6', { disabled: loading })}>
<Pagination
page={currentPage}
totalPages={Math.ceil(total / PER_PAGE)}
onPageChange={(page: any) => props.updateCurrentPage(page)}
limit={PER_PAGE}
debounceRequest={500}
/>
</div>
</div>
</div>
);