diff --git a/frontend/src/screens/CartScreen.js b/frontend/src/screens/CartScreen.js index 2d612989d..6c496f15d 100644 --- a/frontend/src/screens/CartScreen.js +++ b/frontend/src/screens/CartScreen.js @@ -22,6 +22,7 @@ function CartScreen({ match, location, history }) { const removeFromCartHandler = (id) => { dispatch(removeFromCart(id)) + history.push("/cart") } const checkoutHandler = () => {