diff --git a/src/compounds/Document/Document.jsx b/src/compounds/Document/Document.jsx
index d4de106..67c8e3b 100644
--- a/src/compounds/Document/Document.jsx
+++ b/src/compounds/Document/Document.jsx
@@ -1,8 +1,7 @@
import React, { useState } from 'react'
import PropTypes from 'prop-types'
-import { Dropdown, Offcanvas, Row } from 'react-bootstrap'
+import { Dropdown, Offcanvas } from 'react-bootstrap'
import LineItemsTable from '../../components/LineItemsTable/LineItemsTable'
-import Notice from '../../components/Notice/Notice'
import { allowNull } from '../../resources/utilityFunctions'
import './document.scss'
@@ -13,7 +12,6 @@ const Document = ({ acceptSOW, addClass, backgroundColor, document }) => {
turnaroundTime,
} = document
const [show, setShow] = useState(false)
- const [showNotice, setShowNotice] = useState(false)
const handleClose = () => setShow(false)
const handleShow = () => setShow(true)
@@ -51,11 +49,11 @@ const Document = ({ acceptSOW, addClass, backgroundColor, document }) => {
{
- acceptSOW
- setShowNotice(true)
+ acceptSOW()
+ handleClose()
}}
>
- Submit for Approval
+ Accept SOW
@@ -63,18 +61,6 @@ const Document = ({ acceptSOW, addClass, backgroundColor, document }) => {
)}
- {showNotice && (
-
- setShowNotice(false),
- }}
- />
-
- )}