mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-25 15:24:03 +08:00
parent
99ff416cba
commit
c2fa14a3ea
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ export async function randomizeTheme(): Promise<void> {
|
|||
await changeThemeList();
|
||||
if (themesList.length === 0) return;
|
||||
}
|
||||
const randomTheme = themesList[randomThemeIndex];
|
||||
randomTheme = themesList[randomThemeIndex];
|
||||
randomThemeIndex++;
|
||||
|
||||
if (randomThemeIndex >= themesList.length) {
|
||||
|
|
Loading…
Reference in a new issue