diff --git a/web/src/pages/Home/TopJurors/index.tsx b/web/src/pages/Home/TopJurors/index.tsx index ea66d657e..ef41231da 100644 --- a/web/src/pages/Home/TopJurors/index.tsx +++ b/web/src/pages/Home/TopJurors/index.tsx @@ -29,6 +29,10 @@ const ListContainer = styled.div` )} `; +const StyledLabel = styled.label` + font-size: 16px; +`; + const TopJurors: React.FC = () => { const { data: queryJurors } = useTopUsersByCoherenceScore(); @@ -40,12 +44,16 @@ const TopJurors: React.FC = () => { return ( Top Jurors - -
- {!isUndefined(topJurors) - ? topJurors.map((juror) => ) - : [...Array(5)].map((_, i) => )} - + {!isUndefined(topJurors) && topJurors.length === 0 ? ( + There are no jurors staked yet. + ) : ( + +
+ {!isUndefined(topJurors) + ? topJurors.map((juror) => ) + : [...Array(5)].map((_, i) => )} + + )} ); };