瀏覽代碼

minor design fix

Joystream Stats 2 年之前
父節點
當前提交
10593a4567
共有 1 個文件被更改,包括 3 次插入1 次删除
  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}>