IO-751 Resolve job close hang with unsaved changes

This commit is contained in:
Patrick Fic
2021-03-09 09:51:38 -08:00
parent 0ab019b9f7
commit 8651e03de1
2 changed files with 11 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
import { Input, Table } from "antd";
import React, { useState, useMemo } from "react";
import React, { useMemo, useState } from "react";
import { useTranslation } from "react-i18next";
import { alphaSort } from "../../utils/sorters";
import LoadingSkeleton from "../loading-skeleton/loading-skeleton.component";
@@ -164,7 +164,6 @@ export default function ContractsJobsComponent({
Math.floor(
(filteredData.findIndex((v) => v.id === selectedJob) || 0) / 3
) + 1;
console.log("Page", page);
return page;
}, [filteredData, selectedJob]);