diff --git a/src/components/validators/ValidatorsTable.tsx b/src/components/validators/ValidatorsTable.tsx index bb5dcaf9..9a4c5f15 100644 --- a/src/components/validators/ValidatorsTable.tsx +++ b/src/components/validators/ValidatorsTable.tsx @@ -11,7 +11,6 @@ import { SortDirection } from "../../model/sortDirection"; import { useState, useEffect } from "react"; import { SortOrder } from "../../model/sortOrder"; import { PaginatedResource } from "../../model/paginatedResource"; -import { DataError } from "../../utils/error"; export type ValidatorsTableProps = { validators: PaginatedResource; @@ -19,11 +18,11 @@ export type ValidatorsTableProps = { onSortChange?: (orderBy: ValidatorsOrder) => void; }; -// const day_change_css = css` -// font-size: small; -// font-weight: bold; -// margin-left: 10px; -// `; +const day_change_css = css` + font-size: small; + font-weight: bold; + margin-left: 10px; +`; const ValidatorsTableAttribute = ItemsTableAttribute; @@ -127,7 +126,7 @@ function ValidatorsTable(props: ValidatorsTableProps) { sortable sortProperty="amount" /> - {/* + ); }} - /> - */} + /> - {/* { @@ -185,8 +184,7 @@ function ValidatorsTable(props: ValidatorsTableProps) { ); }} - /> - */} + /> ); } diff --git a/src/services/validatorService.ts b/src/services/validatorService.ts index cf4b4702..08ba29fc 100644 --- a/src/services/validatorService.ts +++ b/src/services/validatorService.ts @@ -38,7 +38,6 @@ export async function getValidators( address amount nominators - rank amountChange nominatorChange }