Joystream Stats 3 rokov pred
rodič
commit
cb0c529a88
2 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  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