Try to increase timeout

This commit is contained in:
Ingvar Stepanyan
2021-09-14 13:19:07 +00:00
parent e1b0fae48c
commit d843ebe522

View File

@@ -66,7 +66,7 @@ export class Preview extends Component {
); );
// I have no idea why, but if we connect too soon, it just hangs... // I have no idea why, but if we connect too soon, it just hangs...
await new Promise(resolve => setTimeout(resolve, 1000)); await new Promise(resolve => setTimeout(resolve, 1500));
while (this.canvasRef.current) { while (this.canvasRef.current) {
try { try {