Make code consistent with the comment above

pull/18628/head
Paulo Pinto 2021-08-18 17:11:12 +01:00
parent e96059337e
commit 0eb8d3f4d1
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ const cssThemes = {
function getActiveThemes() { function getActiveThemes() {
// We want to use `light` theme by default if it's not defined. // We want to use `light` theme by default if it's not defined.
const theme = process.env.MATRIX_THEMES ?? 'dark'; const theme = process.env.MATRIX_THEMES ?? 'light';
const themes = theme.split(',').filter(x => x).map(x => x.trim()).filter(x => x); const themes = theme.split(',').filter(x => x).map(x => x.trim()).filter(x => x);
return themes; return themes;
} }