update src/views/ShoppingCart/index.js

temp
mahdi 2 years ago
parent 4a67480149
commit f4178f5e66
  1. 2
      src/views/ShoppingCart/index.js

@ -275,7 +275,7 @@ function ShoppingCart({
> >
<div className="flex flex-col flex-1">{layouts[phase]}</div> <div className="flex flex-col flex-1">{layouts[phase]}</div>
{console.log(list)} {console.log(list)}
{list?.length {list?.filter((product) => product?.condition < 2)?.length
? phase !== "address" && ( ? phase !== "address" && (
<div <div
className="flex flex-col w-1/4 p-10 bg-white shadow-all rounded-md px-4 py-4" className="flex flex-col w-1/4 p-10 bg-white shadow-all rounded-md px-4 py-4"

Loading…
Cancel
Save