mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
fix(examples/chat): fix applyState call (#1760)
This commit is contained in:
parent
6b4ba7c925
commit
b28ce1dc4d
@ -49,7 +49,7 @@
|
||||
timeline.appendChild(messageDom(data));
|
||||
});
|
||||
ws.addEventListener("close", () => {
|
||||
applyState({connect: false});
|
||||
applyState({connected: false});
|
||||
});
|
||||
}
|
||||
function close() {
|
||||
|
Loading…
Reference in New Issue
Block a user