We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b10ef8d commit dad04cdCopy full SHA for dad04cd
src/App.js
@@ -64,7 +64,7 @@ const App = () => {
64
65
if (socket) {
66
socket.onmessage = async (event) => {
67
- const msg = event.data;
+ const msg = JSON.parse(event.data);
68
69
if (!msg) {
70
console.log("Failed to parse msg");
0 commit comments