Changed table on home to generic

This commit is contained in:
pepper 2021-01-17 23:36:29 -05:00
parent 705830b5be
commit 6f0e98298e

View File

@ -3,6 +3,7 @@ import React, { Component } from "react";
import { callAPI } from "../actions/API";
import Cards from "./Pages/Cards";
import SideMigrations from "./common/Migrations/SideMigrations";
import GenericList from "../root/Pages/GenericList";
// Homepage/Cards, first API call here to pass down to cards
// and the pending migration list, if there's no data, nothing will show
@ -30,7 +31,7 @@ export class Home extends Component {
})
.catch((error) => {
this.setState({
error: true,
error: error,
});
});
}
@ -51,7 +52,8 @@ export class Home extends Component {
<div className="divider"></div>
<div className="section">
<div className="col s12">
<SideMigrations />
<GenericList APILINK="/pending/"/>
{/* <SideMigrations /> */}
</div>
</div>
<div className="divider"></div>