Closed ehowey closed 1 year ago
👷 Deploy request for useshoppingcart pending review. Visit the deploys page to approve it
🔨 Explore the source changes: a5b40ca7a81d351bc065fa6154f2aee118fad37c
I think I should probably set up some instructions so that you can set test things in the repo yourself! Just gimme a bit to walk through the steps from scratch to make sure things will workout no problem. This would probably work with no issues, though. I don't think I've written test for these either. I'll get back to you about this soon!
Hello!
DRAFT - Work in Progress
Feel free to quash this request but I was working on a project recently and I specifically wanted to have an ability open the cart, and not just toggle it.
I copy-pasted the code for
handleCloseCart
and createdhandleOpenCart
.I have no idea how to test this inside of the repo - but would love to know how to do that so I can help out more in the future. Let me know if this is something that is useful and I will spend a bit more time making sure it actually works as intended.