Skip to content

Commit

Permalink
fix(bridge-ui): minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shadab-taiko committed Apr 12, 2023
1 parent 243483a commit 258e26d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/bridge-ui/src/components/Pagination.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
];
}
let buttons = makeButtons(totalPages);
$: buttons = makeButtons(totalPages);
</script>

<div class="btn-group pagination justify-center mt-4">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
let page = 1;
let size = 10;
$: totalPagesInTransactionList =
Math.ceil($paginationInfo?.total / size) ?? 0;
$: totalPagesInTransactionList = $paginationInfo
? Math.ceil($paginationInfo?.total / size)
: 0;
$: transactionsToShow = $transactions.slice(
(page - 1) * size,
Expand Down

0 comments on commit 258e26d

Please sign in to comment.