From 670fbcbe5df9c3a158cb375d8f6cd562aaab723e Mon Sep 17 00:00:00 2001 From: Adibov Date: Thu, 30 Nov 2023 10:47:02 +0330 Subject: [PATCH] Revert "fix(my-account): disable buy button until payment is fixed" This reverts commit fa5bda3fd631132de0357b9b0edb99b42df9654e. --- frontend/src/pages/my-account/MyAccount.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/pages/my-account/MyAccount.jsx b/frontend/src/pages/my-account/MyAccount.jsx index cf06941..225444d 100644 --- a/frontend/src/pages/my-account/MyAccount.jsx +++ b/frontend/src/pages/my-account/MyAccount.jsx @@ -135,8 +135,7 @@ const MyAccount = () => { onClick={handleBuyCart} variant="contained" sx={{ px: 4 }} - // disabled={buyButtonLoading || calculateTotalCost() === 0} - disabled + disabled={buyButtonLoading || calculateTotalCost() === 0} > {!buyButtonLoading && 'Buy'} {buyButtonLoading && }