fix double ready
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user