Skip to content

Commit

Permalink
fix: convert bigint to number
Browse files Browse the repository at this point in the history
  • Loading branch information
arifintahu committed Jul 29, 2024
1 parent 11e3c92 commit 6720714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/validators/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default function Validators() {
setIsLoading(true)
queryActiveValidators(tmClient, page, perPage)
.then((response) => {
setTotal(response.pagination?.total.low ?? 0)
setTotal(Number(response.pagination?.total))
const validatorData: ValidatorData[] = response.validators.map(
(val) => {
return {
Expand Down

0 comments on commit 6720714

Please sign in to comment.