useContext is undefined
Wrapped in a function with a throw, and it throws an error no matter what
I've verified it's wrapped in a provider, and the context set-up is identical to the other providers
It's not even being used, simply calling the function throws the error
This is the context set-up:
Every time I log at all stages nothing is null or not working, SettingsContext seems to be defined fine, but useContext breaks and returns undefined
It's wrappped in a provider in the global app
I'm not super experienced with context, is there something I'm missing? Is it the fact that the value is an object?
I've verified it's wrapped in a provider, and the context set-up is identical to the other providers
It's not even being used, simply calling the function throws the error
This is the context set-up:
Every time I log at all stages nothing is null or not working, SettingsContext seems to be defined fine, but useContext breaks and returns undefined
It's wrappped in a provider in the global app
I'm not super experienced with context, is there something I'm missing? Is it the fact that the value is an object?
