From b350087a7a1d2460e6c908b05704b1df7a4afe75 Mon Sep 17 00:00:00 2001 From: Lewis Crichton Date: Sun, 3 Sep 2023 13:26:07 +0100 Subject: [PATCH] style: for if --- src/utils/quickCss.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/utils/quickCss.ts b/src/utils/quickCss.ts index 4ae2cde9..000a13cd 100644 --- a/src/utils/quickCss.ts +++ b/src/utils/quickCss.ts @@ -65,9 +65,7 @@ async function initThemes() { const cssVars: string[] = []; // for UserCSS, we need to inject the variables - for (const theme of enabledThemes) { - if (!theme.endsWith(".user.css")) continue; - + for (const theme of enabledThemes) if (theme.endsWith(".user.css")) { const themeData = await VencordNative.themes.getThemeData(theme); if (!themeData) continue;