Joystream Stats 3 년 전
부모
커밋
cb0c529a88
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/App.tsx
  2. 1 1
      src/components/Councils/index.tsx

+ 1 - 1
src/App.tsx

@@ -211,7 +211,7 @@ class App extends React.Component<IProps, IState> {
   }
 
   async updateElection(api: Api) {
-    console.debug(`Updating council`);
+    console.debug(`Updating election status`);
     const round = Number((await api.query.councilElection.round()).toJSON());
     const termEndsAt = Number((await api.query.council.termEndsAt()).toJSON());
     const stage = (await api.query.councilElection.stage()).toJSON();

+ 1 - 1
src/components/Councils/index.tsx

@@ -27,7 +27,7 @@ const Rounds = (props: {
       />
 
       <h2 className="w-100 text-center text-light">Proposal Votes</h2>
-      {council
+      {councils
         .sort((a, b) => b.round - a.round)
         .map((council) => (
           <CouncilVotes