diff --git a/src/components/root/Pages/GenericList.js b/src/components/root/Pages/GenericList.js index df04fea..1d17acd 100644 --- a/src/components/root/Pages/GenericList.js +++ b/src/components/root/Pages/GenericList.js @@ -1,6 +1,6 @@ import React, { Component } from "react"; import CompTable from "../common/Tables/CompTable"; -import { callAPI } from "../../actions/API" +import { callAPI } from "../../actions/API"; import { Error } from "../../actions/Error"; // Missing parent page, @@ -18,9 +18,10 @@ class GenericList extends Component { } renderItems() { - console.log(this.props.APILINK) if (!this.state.error) { - return ; + return ( + + ); } else { console.log("error"); return ; @@ -28,19 +29,7 @@ class GenericList extends Component { } render() { - return ( -
-
-
-
-
-
-
-
{this.renderItems()}
-
-
-
- ); + return
{this.renderItems()}
; } }