diff --git a/src/compounds/Document/Document.jsx b/src/compounds/Document/Document.jsx index 53e95e4..50e03f9 100644 --- a/src/compounds/Document/Document.jsx +++ b/src/compounds/Document/Document.jsx @@ -3,13 +3,13 @@ import PropTypes from 'prop-types' import { Dropdown, Offcanvas } from 'react-bootstrap' import LineItemsTable from '../../components/LineItemsTable/LineItemsTable' import './document.scss' -import { allowNull } from '../../resources/utilityFunctions' const Document = ({ document, addClass }) => { - const { adPO, date, documentStatusColor, documentType, - documentTypeColor, documentStatus, identifier, lineItems, poNumber, relatedSOWIdentifier, requestIdentifier, - shippingPrice, shipTo, shipFrom, subtotalPrice, - taxAmount, terms, totalPrice, turnaroundTime } = document + const { + adPO, date, documentStatusColor, documentType, documentTypeColor, documentStatus, identifier, lineItems, poNumber, + relatedSOWIdentifier, requestIdentifier, shippingPrice, shipTo, shipFrom, subtotalPrice, taxAmount, terms, totalPrice, + turnaroundTime, + } = document const [show, setShow] = useState(false) const handleClose = () => setShow(false) const handleShow = () => setShow(true) @@ -76,8 +76,7 @@ const Document = ({ document, addClass }) => {