In progress changes for Kanban Board and updated schema migrations. Performed some cleanup.
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import React from "react";
|
||||
import { useSubscription } from "@apollo/react-hooks";
|
||||
import AlertComponent from "../../components/alert/alert.component";
|
||||
|
||||
import { Col } from "antd";
|
||||
import { SUBSCRIPTION_ALL_OPEN_JOBS } from "../../graphql/jobs.queries";
|
||||
|
||||
import JobsList from "../../components/jobs-list/jobs-list.component";
|
||||
import Test from "./test";
|
||||
|
||||
export default function JobsPage() {
|
||||
const { loading, error, data } = useSubscription(SUBSCRIPTION_ALL_OPEN_JOBS, {
|
||||
@@ -15,9 +14,8 @@ export default function JobsPage() {
|
||||
if (error) return <AlertComponent message={error.message} />;
|
||||
|
||||
return (
|
||||
<div>
|
||||
<Col span={22} offset={1}>
|
||||
<JobsList loading={loading} jobs={data ? data.jobs : null} />
|
||||
<Test />
|
||||
</div>
|
||||
</Col>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user