Skip to content

Context Display Problem #4

Answered by enes9103
hyperproject016 asked this question in Q&A
Discussion options

You must be logged in to vote

You should send the data you created with hello context to your page (ChatContext.Provider). I think the error comes from here. You can modify the code block below.

return <ChatContext.Provider value={values}>{children}</ChatContext.Provider>;

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hyperproject016
Comment options

Answer selected by hyperproject016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants