refactor: use a for of loop

This commit is contained in:
Miodec 2023-11-02 14:06:58 +00:00
parent 78ecdcf91e
commit 59d3749449

View file

@ -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[] = [];