Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Quick fix
dominik-zeglen82e7204e7e79
diff --git a/saleor/static/dashboard/js/components/async-form.js b/saleor/static/dashboard/js/components/async-form.jsindex 12e6efd93f..1b79137ab4 100644--- a/saleor/static/dashboard/js/components/async-form.js+++ b/saleor/static/dashboard/js/components/async-form.js@@ -32,10 +32,8 @@ const onAsyncFormSubmit = (e) => {const onModalClose = () => $('.modal').modal('close');-function init() {- return $(document).on('submit', '.form-async', onAsyncFormSubmit)- .on('click', '.modal-close', onModalClose);-}+const init = $(document).on('submit', '.form-async', onAsyncFormSubmit)+ .on('click', '.modal-close', onModalClose);export {init as default,