Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove duplicated modal window
dominik-zeglenc112c3296eee
diff --git a/saleor/static/dashboard-next/orders/views/OrderDetails/index.tsx b/saleor/static/dashboard-next/orders/views/OrderDetails/index.tsxindex 32d7bebee8..ab222fbbfa 100644--- a/saleor/static/dashboard-next/orders/views/OrderDetails/index.tsx+++ b/saleor/static/dashboard-next/orders/views/OrderDetails/index.tsx@@ -477,28 +477,6 @@ export const OrderDetails: React.StatelessComponent<OrderDetailsProps> = ({/>)}/>- <Route- path={orderCancelPath(":id")}- render={({ match }) => (- <OrderDraftCancelDialog- confirmButtonState={getMutationState(- orderDraftCancel.opts.called,- orderDraftCancel.opts.loading,- maybe(- () =>- orderDraftCancel.opts.data- .draftOrderDelete.errors- )- )}- onClose={onModalClose}- onConfirm={() =>- orderDraftCancel.mutate({ id })- }- open={!!match}- orderNumber={maybe(() => order.number)}- />- )}- /></>) : (<>