Преглед на файлове

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