UseContext is not a function
I’m trying to use the context that I created to a really simple shopping cart example, for that, I created some functions and when I try to use it inside of my component, the error pops up.
I’m actually a beginner when it comes to using Context API, so if anyone could help, I’d be really happy.
Here’s my context