Skip to content

Commit

Permalink
Revert "fix(my-account): disable buy button until payment is fixed"
Browse files Browse the repository at this point in the history
This reverts commit fa5bda3.
  • Loading branch information
Adibov committed Nov 30, 2023
1 parent 701d34e commit 670fbcb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/pages/my-account/MyAccount.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 && <CircularProgress />}
Expand Down

0 comments on commit 670fbcb

Please sign in to comment.