Quellcode durchsuchen

minor design fix

Joystream Stats vor 2 Jahren
Ursprung
Commit
10593a4567
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  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}>