157 viewsMern Amazona
0 Comments

Hi, I just wanna let you know you are doing a great job.
I would like you to look into the portion of the video where the "Proceed to checkout" action is not working when the code for CartScreen.js includes this:

const checkoutHandler = () => {
navigate('signin?redirect=/shipping');
}

While solving the problem, this one works:

navigate('/cart/signin?redirect=signin');
Bassir Edited question February 7, 2024

put / before signin like this:

navigate('/signin?redirect=/shipping');

it should be /signin not /cart/signin

Bassir Edited answer February 8, 2024