浏览代码

20230308: removed error calls

mkbeefcake 1 年之前
父节点
当前提交
4827260464
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 1 1
      public/index.html
  2. 3 3
      src/App.tsx

+ 1 - 1
public/index.html

@@ -4,7 +4,7 @@
     <meta charset="utf-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1" />
     <meta name="theme-color" content="#000000" />
-    <link rel="manifest" href="manifest.json" />
+    <!-- <link rel="manifest" href="manifest.json" /> -->
     <title>JoystreamStats</title>
   </head>
   <body>

+ 3 - 3
src/App.tsx

@@ -196,12 +196,12 @@ class App extends React.Component<IProps, IState> {
     "settings showNotes notes scores status members assets providers buckets councils council election workers categories grading proposals openings tokenomics transactions reports validators nominators staches stakes rewardPoints stars blocks hidden media"
       .split(" ")
       .map((key) => this.load(key));
-    const queries = this.load("queries") || this.state.queries;
-    return queries.map(([name]) => this.load(name));
+    //const queries = this.load("queries") || this.state.queries;
+    // return queries.map(([name]) => this.load(name));
   }
 
   async componentDidMount() {
-    this.loadData().then(() => this.updateQueries());
+    // this.loadData().then(() => this.updateQueries());
 
     //setInterval(this.updateQueries, 60000);
     //window.addEventListener("keypress", this.handleKey);