Skip to content

Commit 543f7ca

Browse files
committed
change data variable to request
1 parent 18c72c7 commit 543f7ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compounds/Document/Document.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Document = ({ accessToken, addClass, acceptSOW, document, request }) => {
4545
{/* TODO: @summer-cook SOW should have submit for approval. It should also ONLY show the submit for approval when the SOW has not yet been submitted. Need to figure out a way to tell if it has been submitted or not. . */}
4646
<Dropdown.Item
4747
href='#/action-1'
48-
onClick={() => {acceptSOW({data: request, sowID: identifier, accessToken: accessToken})}}
48+
onClick={() => {acceptSOW({request: request, sowID: identifier, accessToken: accessToken})}}
4949
>
5050
Submit for Approval
5151
</Dropdown.Item>

0 commit comments

Comments
 (0)