client/src/preview/components/cart/ShoppingCart.tsx
Function ShoppingCart
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ShoppingCart() {
const { actions } = useCart();
const navigate = useNavigate();
const [openDialog, setOpenDialog] = useState(false);
const dispatch = useDispatch();