refactor: clean code

This commit is contained in:
2024-08-28 01:53:55 +03:00
parent c6059a7a60
commit 42e454c4d6
3 changed files with 8 additions and 4 deletions

View File

@ -35,10 +35,11 @@ export class TabStorageComponent {
}
}
if (tryCount >= 10)
if (tryCount < 10)
this.trySelectChip(index, chip, ++tryCount);
else
return;
this.trySelectChip(index, chip, ++tryCount);
}, 100);
}