소스 검색

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);