Skip to content

Commit 4a5846c

Browse files
committed
remove alertbody
1 parent 8c2c532 commit 4a5846c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/compounds/Document/Document.jsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Notice from '../../components/Notice/Notice'
66
import { allowNull } from '../../resources/utilityFunctions'
77
import './document.scss'
88

9-
const Document = ({ document, addClass }) => {
9+
const Document = ({ acceptSOW, addClass, backgroundColor, document }) => {
1010
const {
1111
adPO, date, documentStatusColor, documentType, documentTypeColor, documentStatus, identifier, lineItems, poNumber,
1212
relatedSOWIdentifier, requestIdentifier, shippingPrice, shipTo, shipFrom, subtotalPrice, taxAmount, terms, totalPrice,
@@ -67,7 +67,7 @@ const Document = ({ document, addClass }) => {
6767
<Notice
6868
addClass='my-3'
6969
alert={{
70-
body: [alertBody],
70+
body: [`SOW ${identifier} has been accepted successfully. Now awaiting purchase order.`],
7171
variant: 'success',
7272
onClose: () => setShowNotice(false),
7373
}}
@@ -118,7 +118,6 @@ const Document = ({ document, addClass }) => {
118118

119119
Document.propTypes = {
120120
addClass: PropTypes.string,
121-
alertBody: PropTypes.string,
122121
backgroundColor: PropTypes.string,
123122
acceptSOW: PropTypes.func.isRequired,
124123
document: PropTypes.shape({

0 commit comments

Comments
 (0)