Skip to content

Commit

Permalink
chore: rm synced check
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbulat committed Jan 27, 2025
1 parent c8408e2 commit 3d9c4c1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/app/src/library/ListItem/Labels/Quartile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,14 @@ import { Label } from 'ui-core/list'
export const Quartile = ({ address }: { address: string }) => {
const { t } = useTranslation()
const { setTooltipTextAndOpen } = useTooltip()
const { validatorEraPointsHistory, erasRewardPointsFetched } = useValidators()
const { validatorEraPointsHistory } = useValidators()

const quartile = validatorEraPointsHistory[address]?.quartile
const tooltipText = `${t('dayPerformanceStanding', {
count: 30,
ns: 'library',
})}`

if (erasRewardPointsFetched !== 'synced') {
return null
}

return (
<Label>
<TooltipArea
Expand Down

0 comments on commit 3d9c4c1

Please sign in to comment.