From e7cd554dded49936302183febce6424119f1375c Mon Sep 17 00:00:00 2001 From: cpl121 Date: Thu, 19 Dec 2024 17:22:52 +0100 Subject: [PATCH] fix(explorer): format --- .../src/components/top-validators-card/TopValidatorsCard.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/explorer/src/components/top-validators-card/TopValidatorsCard.tsx b/apps/explorer/src/components/top-validators-card/TopValidatorsCard.tsx index 55efe28cb2d..570867ac813 100644 --- a/apps/explorer/src/components/top-validators-card/TopValidatorsCard.tsx +++ b/apps/explorer/src/components/top-validators-card/TopValidatorsCard.tsx @@ -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: [],