Explorar el Código

getContext error

jusrhee hace 5 años
padre
commit
2f27dd6cd0
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      dashboard/src/main/home/dashboard/Dashboard.tsx

+ 3 - 2
dashboard/src/main/home/dashboard/Dashboard.tsx

@@ -10,7 +10,7 @@ class Dashboard extends Component {
 
 
   componentDidMount() {
   componentDidMount() {
     let { userId, setCurrentError } = this.context;
     let { userId, setCurrentError } = this.context;
-
+    /*
     api.getCharts('<token>', {
     api.getCharts('<token>', {
       user_id: userId,
       user_id: userId,
       helm: {
       helm: {
@@ -33,6 +33,7 @@ class Dashboard extends Component {
         console.log(res);
         console.log(res);
       }
       }
     });
     });
+    */
   }
   }
 
 
   render() {
   render() {
@@ -56,7 +57,7 @@ class Dashboard extends Component {
               <i className="material-icons">info</i> Info
               <i className="material-icons">info</i> Info
             </InfoLabel>
             </InfoLabel>
           </TopRow>
           </TopRow>
-          <Description>Some description perhaps.</Description>
+          <Description></Description>
         </InfoSection>
         </InfoSection>
 
 
         <LineBreak />
         <LineBreak />