getting somewhere

This commit is contained in:
Mashy
2019-07-19 19:46:54 +10:00
parent 51d3c76460
commit 9c45a3fb7a
2 changed files with 13 additions and 4 deletions
+1
View File
@@ -15,6 +15,7 @@ const addState = connect(
.then(res => res.json())
.then(data => {
if (!data.success) return errorToast(data.error_message);
console.log(data.response);
ws.connect();
})
.catch(error => errorToast(error));