Missed removal of comment in last commit
This commit is contained in:
@@ -1,16 +1,5 @@
|
|||||||
import {
|
|
||||||
Avatar,
|
|
||||||
Badge,
|
|
||||||
Button,
|
|
||||||
Checkbox,
|
|
||||||
Descriptions,
|
|
||||||
Dropdown,
|
|
||||||
Menu,
|
|
||||||
notification,
|
|
||||||
PageHeader,
|
|
||||||
Tag
|
|
||||||
} from "antd";
|
|
||||||
import { DownCircleFilled } from "@ant-design/icons";
|
import { DownCircleFilled } from "@ant-design/icons";
|
||||||
|
import { Avatar, Badge, Button, Checkbox, Descriptions, Dropdown, Menu, notification, PageHeader, Tag } from "antd";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import Moment from "react-moment";
|
import Moment from "react-moment";
|
||||||
|
|||||||
@@ -1,22 +1,10 @@
|
|||||||
import Icon, {
|
import Icon, { BarsOutlined, CalendarFilled, DollarCircleOutlined, FileImageFilled, ToolFilled } from "@ant-design/icons";
|
||||||
BarsOutlined,
|
|
||||||
CalendarFilled,
|
|
||||||
DollarCircleOutlined,
|
|
||||||
FileImageFilled,
|
|
||||||
ToolFilled
|
|
||||||
} from "@ant-design/icons";
|
|
||||||
import { useHistory, useLocation } from "react-router-dom";
|
|
||||||
import { Form, notification, Tabs } from "antd";
|
import { Form, notification, Tabs } from "antd";
|
||||||
import moment from "moment";
|
import moment from "moment";
|
||||||
import React, { lazy, Suspense } from "react";
|
import React, { lazy, Suspense } from "react";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import {
|
import { FaHardHat, FaHistory, FaInfo, FaRegStickyNote, FaShieldAlt } from "react-icons/fa";
|
||||||
FaHardHat,
|
import { useHistory } from "react-router-dom";
|
||||||
FaInfo,
|
|
||||||
FaRegStickyNote,
|
|
||||||
FaShieldAlt,
|
|
||||||
FaHistory
|
|
||||||
} from "react-icons/fa";
|
|
||||||
//import JobsLinesContainer from "../../components/job-detail-lines/job-lines.container";
|
//import JobsLinesContainer from "../../components/job-detail-lines/job-lines.container";
|
||||||
//import JobsDetailClaims from "../../components/jobs-detail-claims/jobs-detail-claims.component";
|
//import JobsDetailClaims from "../../components/jobs-detail-claims/jobs-detail-claims.component";
|
||||||
//import JobsDetailDatesComponent from "../../components/jobs-detail-dates/jobs-detail-dates.component";
|
//import JobsDetailDatesComponent from "../../components/jobs-detail-dates/jobs-detail-dates.component";
|
||||||
@@ -90,8 +78,6 @@ export default function JobsDetailPage({
|
|||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
const history = useHistory();
|
const history = useHistory();
|
||||||
|
|
||||||
console.log("history, location", history);
|
|
||||||
// history.replace();
|
|
||||||
const formItemLayout = {
|
const formItemLayout = {
|
||||||
labelCol: {
|
labelCol: {
|
||||||
xs: { span: 12 },
|
xs: { span: 12 },
|
||||||
|
|||||||
@@ -4,12 +4,7 @@ import { useMutation, useQuery } from "react-apollo";
|
|||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import AlertComponent from "../../components/alert/alert.component";
|
import AlertComponent from "../../components/alert/alert.component";
|
||||||
import SpinComponent from "../../components/loading-spinner/loading-spinner.component";
|
import SpinComponent from "../../components/loading-spinner/loading-spinner.component";
|
||||||
import {
|
import { CONVERT_JOB_TO_RO, GET_JOB_BY_PK, UPDATE_JOB, UPDATE_JOB_STATUS } from "../../graphql/jobs.queries";
|
||||||
CONVERT_JOB_TO_RO,
|
|
||||||
GET_JOB_BY_PK,
|
|
||||||
UPDATE_JOB,
|
|
||||||
UPDATE_JOB_STATUS
|
|
||||||
} from "../../graphql/jobs.queries";
|
|
||||||
import JobsDetailPage from "./jobs-detail.page.component";
|
import JobsDetailPage from "./jobs-detail.page.component";
|
||||||
|
|
||||||
function JobsDetailPageContainer({ match }) {
|
function JobsDetailPageContainer({ match }) {
|
||||||
|
|||||||
@@ -17,9 +17,6 @@ const JobsDetailPage = lazy(() =>
|
|||||||
import("../jobs-detail/jobs-detail.page.container")
|
import("../jobs-detail/jobs-detail.page.container")
|
||||||
);
|
);
|
||||||
const ProfilePage = lazy(() => import("../profile/profile.container.page"));
|
const ProfilePage = lazy(() => import("../profile/profile.container.page"));
|
||||||
const JobsDocumentsPage = lazy(() =>
|
|
||||||
import("../../components/jobs-documents/jobs-documents.container")
|
|
||||||
);
|
|
||||||
const JobsAvailablePage = lazy(() =>
|
const JobsAvailablePage = lazy(() =>
|
||||||
import("../jobs-available/jobs-available.page.container")
|
import("../jobs-available/jobs-available.page.container")
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user