Rome whitelabelling.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { Alert, Table } from "antd";
|
||||
import { Table } from "antd";
|
||||
import Dinero from "dinero.js";
|
||||
import { object } from "prop-types";
|
||||
import React, { useMemo, useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { alphaSort } from "../../utils/sorters";
|
||||
@@ -26,7 +25,7 @@ export default function JobTotalsTableParts({ job }) {
|
||||
});
|
||||
|
||||
return adjs;
|
||||
}, [job.job_totals.parts.adjustments]);
|
||||
}, [job.job_totals]);
|
||||
|
||||
const data = useMemo(() => {
|
||||
return Object.keys(job.job_totals.parts.parts.list)
|
||||
|
||||
Reference in New Issue
Block a user