Browse Source

20230308: removed error calls

mkbeefcake 1 year ago
parent
commit
4827260464
2 changed files with 4 additions and 4 deletions
  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 charset="utf-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1" />
     <meta name="viewport" content="width=device-width, initial-scale=1" />
     <meta name="theme-color" content="#000000" />
     <meta name="theme-color" content="#000000" />
-    <link rel="manifest" href="manifest.json" />
+    <!-- <link rel="manifest" href="manifest.json" /> -->
     <title>JoystreamStats</title>
     <title>JoystreamStats</title>
   </head>
   </head>
   <body>
   <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"
     "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(" ")
       .split(" ")
       .map((key) => this.load(key));
       .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() {
   async componentDidMount() {
-    this.loadData().then(() => this.updateQueries());
+    // this.loadData().then(() => this.updateQueries());
 
 
     //setInterval(this.updateQueries, 60000);
     //setInterval(this.updateQueries, 60000);
     //window.addEventListener("keypress", this.handleKey);
     //window.addEventListener("keypress", this.handleKey);