is it a magic object that can't be jsoned?
This commit is contained in:
parent
fde44f5b49
commit
b3eb9756f0
@ -77,7 +77,7 @@ function clickPlay() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function action(evt: Action) {
|
function action(evt: Action) {
|
||||||
const s = JSON.stringify(action);
|
const s = JSON.stringify({action: evt.action});
|
||||||
console.log('send action', evt, s);
|
console.log('send action', evt, s);
|
||||||
send(s);
|
send(s);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user