I\'m trying to trigger a function from my CartContext Api upon a click, but it isn\'t happening. I have checked the method and it works, but when I add the context function