We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe4f678 commit bc03fdbCopy full SHA for bc03fdb
Frontend/components/Chat.js
@@ -171,7 +171,7 @@ function Chat(props) {
171
// Message_ID: docRef.id,
172
// };
173
// setMessages(previousMessages => GiftedChat.append(previousMessages, mymsg));
174
- const MySQLDB = await axiosInstance.post('/message', {
+ const MySQLDB = axiosInstance.post('/message', {
175
Receiver_ID: userChatting.pid,
176
text: mymsg.text,
177
});
0 commit comments