I created my provider and it works but one of the functions in this context is passed down and then update the state of the context. In that same context, I have functions t