mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-27 09:16:13 +08:00
refactor: use a for of loop
This commit is contained in:
parent
78ecdcf91e
commit
59d3749449
1 changed files with 2 additions and 2 deletions
|
|
@ -57,9 +57,9 @@ async function updateFavicon(): Promise<void> {
|
|||
}
|
||||
|
||||
function clearCustomTheme(): void {
|
||||
colorVars.forEach((e) => {
|
||||
for (const e of colorVars) {
|
||||
document.documentElement.style.setProperty(e, "");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
let loadStyleLoaderTimeouts: NodeJS.Timeout[] = [];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue