Skip to content

Commit

Permalink
fix(explorer): format
Browse files Browse the repository at this point in the history
  • Loading branch information
cpl121 committed Dec 19, 2024
1 parent b6560ec commit e7cd554
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ type TopValidatorsCardProps = {
export function TopValidatorsCard({ limit, showIcon }: TopValidatorsCardProps): JSX.Element {
const { data, isPending, isSuccess, isError } = useIotaClientQuery('getLatestIotaSystemState');

const topActiveValidators = data?.activeValidators.slice(0, limit || NUMBER_OF_VALIDATORS) ?? [];
const topActiveValidators =
data?.activeValidators.slice(0, limit || NUMBER_OF_VALIDATORS) ?? [];

const tableColumns = generateValidatorsTableColumns({
atRiskValidators: [],
Expand Down

0 comments on commit e7cd554

Please sign in to comment.