diff --git a/src/components/Complaints-register-new/index.js b/src/components/Complaints-register-new/index.js index ef05b9e..58755db 100644 --- a/src/components/Complaints-register-new/index.js +++ b/src/components/Complaints-register-new/index.js @@ -3,11 +3,9 @@ import { connect } from "react-redux"; import moment from "moment"; import { tailwindWrapper } from "../../../../../formula_one/src/utils/tailwindWrapper"; -import { Loading } from "formula_one"; import { getComplaints } from "../../actions/complaints"; import { complaintsUrl } from "../../urls"; -import { entries } from "../constants"; class ComplaintsRegisterNew extends React.Component { constructor(props) { @@ -43,11 +41,7 @@ class ComplaintsRegisterNew extends React.Component { render() { const { complaints } = this.props; - const links = [complaints.links]; - const { complaintsLoading } = this.state; - console.log(complaints, links); - return (
- {complaints.results.map((complaint, index) => ( + {complaints.map((complaint, index) => ( |
---|