Explorar el Código

minor design fix

Joystream Stats hace 2 años
padre
commit
10593a4567
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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}>