Skip to content

Conversation

@Kabinet98
Copy link

Hi, I've made some changes to your code. Do you mind checking it?

1-I've removed the Endpoint dependency inside the UseEffect in Chat file and added a "messages" dependency to the second UseEffect so it could rerenreder every time you have a new message.
2- I've removed the onKeyPress keyword because deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant