Changed table on home to generic
This commit is contained in:
parent
705830b5be
commit
6f0e98298e
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user