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