diff options
Diffstat (limited to 'src/lib/cart/components/Cart.jsx')
| -rw-r--r-- | src/lib/cart/components/Cart.jsx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/cart/components/Cart.jsx b/src/lib/cart/components/Cart.jsx index d0408ddf..6a503c0a 100644 --- a/src/lib/cart/components/Cart.jsx +++ b/src/lib/cart/components/Cart.jsx @@ -130,14 +130,20 @@ const Cart = () => { {!cart.isLoading && (!products || products?.length == 0) && ( <div className='px-4'> - <Alert className='text-center my-2' type='info'> + <Alert + className='text-center my-2' + type='info' + > Keranjang belanja anda masih kosong </Alert> </div> )} {products?.map((product) => ( - <div key={product?.id} className='flex mx-4'> + <div + key={product?.id} + className='flex mx-4' + > <button type='button' className='flex items-center mr-2' |
