mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 05:17:51 +08:00
fixed infinite loop causing website to freeze
This commit is contained in:
parent
d089a773f7
commit
3d9c5f1fb1
1 changed files with 1 additions and 2 deletions
|
@ -1137,8 +1137,7 @@ export async function addWord() {
|
|||
!CustomText.isTimeRandom
|
||||
) {
|
||||
randomWord = CustomText.text[words.length];
|
||||
}
|
||||
if (Config.mode === "quote") {
|
||||
} else if (Config.mode === "quote") {
|
||||
randomWord = randomQuote.textSplit[words.length];
|
||||
} else {
|
||||
while (
|
||||
|
|
Loading…
Reference in a new issue