Browse Source

getTokenomics on start

Joystream Stats 2 năm trước cách đây
mục cha
commit
1634e59c43
2 tập tin đã thay đổi với 610 bổ sung207 xóa
  1. 1 0
      src/App.tsx
  2. 609 207
      yarn.lock

+ 1 - 0
src/App.tsx

@@ -306,6 +306,7 @@ class App extends React.Component<IProps, IState> {
     "status members assets providers councils council election workers categories channels proposals posts threads mints openings tokenomics transactions reports validators nominators staches stakes rewardPoints stars"
       .split(" ")
       .map((key) => this.load(key));
+    getTokenomics().then((tokenomics) => this.save(`tokenomics`, tokenomics));
     bootstrap(this.save); // axios requests
     this.updateCouncils();
   }

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 609 - 207
yarn.lock


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác