removed unnecessary const

fixed #3247
This commit is contained in:
Miodec 2022-06-27 12:57:01 +02:00
parent 99ff416cba
commit c2fa14a3ea

View file

@ -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) {