From b3fcfc05705e7fafa6ffc6776478ed630eb416b7 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Tue, 3 May 2022 15:51:52 -0700 Subject: [PATCH] Fix colaboative cancel broken --- frontend/src/components/OrderPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/OrderPage.js b/frontend/src/components/OrderPage.js index 9868983f..16a9e58e 100644 --- a/frontend/src/components/OrderPage.js +++ b/frontend/src/components/OrderPage.js @@ -379,7 +379,7 @@ class OrderPage extends Component { 'action':'cancel', }), }; - fetch('/api/order/' + '?order_id=' + this.state.state.orderId, requestOptions) + fetch('/api/order/' + '?order_id=' + this.state.orderId, requestOptions) .then((response) => response.json()) .then(() => (this.getOrderDetails(this.state.orderId) & this.setState({status:4}))); this.handleClickCloseCollaborativeCancelDialog();