is it a magic object that can't be jsoned?

This commit is contained in:
Branden J Brown 2024-02-03 09:37:59 -06:00
parent fde44f5b49
commit b3eb9756f0
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }