Instead of wrapping everything in <MyContext.Consumer>, we’ll use useContext(Context)
<MyContext.Consumer>
useContext(Context)