Skip to content

Commit

Permalink
Update Cart.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sivaprasath2004 authored Feb 13, 2024
1 parent ad22dc6 commit 08c73e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cart/Cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const decrement=(itemId)=>{
return (
<div id='cart_page' style={quantity.loading?{display:'flex',justifyContent:'center',alignItems:'center',height:'100vh'}:{display:'flex',flexWrap:'wrap'}}>
{quantity.loading?
<div style={{height:'50%',width:'50%',display:'flex',justifyContent:'center',alignItems:'center',alignSelf:'center',position:'absolute',zIndex:2}}>
<div style={{height:'50%',width:'50%',display:'flex',justifyContent:'center',alignItems:'center',alignSelf:'center',position:'absolute'}}>
<div className="loader"></div>
</div>
:<></>
Expand Down Expand Up @@ -107,4 +107,4 @@ const decrement=(itemId)=>{
)
}

export default Cart
export default Cart

0 comments on commit 08c73e9

Please sign in to comment.