Open jackcrane opened 3 years ago
In an effort to reduce code duplicity and make the app more resilient to crashes, switch the cart saving system from happening whenever there is a change to happening in a UseEffect hook with cart as a dependency.
In an effort to reduce code duplicity and make the app more resilient to crashes, switch the cart saving system from happening whenever there is a change to happening in a UseEffect hook with cart as a dependency.