Ver Fonte

20230308: removed error calls

mkbeefcake há 1 ano atrás
pai
commit
4827260464
2 ficheiros alterados com 4 adições e 4 exclusões
  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);