Parcourir la source

minor design fix

Joystream Stats il y a 2 ans
Parent
commit
10593a4567
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      src/components/Councils/Election.tsx

+ 3 - 1
src/components/Councils/Election.tsx

@@ -156,10 +156,12 @@ const Election = (props: IState) => {
                   />
                 </Grid>
               </Grid>
-              {votes.length && (
+              {votes.length ? (
                 <Grid item lg={12} className={classes.applicants}>
                   <Typography variant="h5">{`Votes`}</Typography>
                 </Grid>
+              ) : (
+                ``
               )}
               <Grid item lg={12} className={classes.applicants}>
                 <Grid container spacing={1} className={classes.applicants}>