fix double ready

This commit is contained in:
ntr
2019-11-13 21:37:53 +11:00
parent 70f99a6ffd
commit 917b239647
2 changed files with 6 additions and 6 deletions
@@ -49,11 +49,6 @@ function InstanceCtrlBtns(args) {
const finished = instance && instance.phase === 'Finished';
const skip = instance.time_control === 'Practice' && instance.phase === 'Lobby';
if (skip) {
sendReady();
}
return (
<div class="instance-ctrl-btns">
<button disabled={!account.subscribed} onClick={() => setChatShow(!chatShow)}>Chat</button>