mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 15:26:15 +08:00
parent
99ff416cba
commit
c2fa14a3ea
|
@ -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