From 9d499eb986960af037de8159eb6a57bc71ada9d2 Mon Sep 17 00:00:00 2001 From: pepper Date: Wed, 20 Jan 2021 00:01:34 -0500 Subject: [PATCH] Removed redundant CSS containers and styling --- src/components/root/Pages/GenericList.js | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) 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()}
; } }