Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Clear timeout after unmounting
dominik-zeglen5c53e9ef8a2c
diff --git a/saleor/static/dashboard-next/components/ConfirmButton/ConfirmButton.tsx b/saleor/static/dashboard-next/components/ConfirmButton/ConfirmButton.tsxindex 68305d82c4..c068d890f0 100644--- a/saleor/static/dashboard-next/components/ConfirmButton/ConfirmButton.tsx+++ b/saleor/static/dashboard-next/components/ConfirmButton/ConfirmButton.tsx@@ -100,6 +100,10 @@ const ConfirmButton = decorate<ConfirmButtonProps>(}}+ componentWillUnmount() {+ clearTimeout(this.timeout);+ }+render() {const {children,