We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac5fd09 commit 890d312Copy full SHA for 890d312
packages/devextreme-cli/src/templates/react/application/src/theme.tsx
@@ -4,7 +4,7 @@ const themes = ['light', 'dark'];
4
const themeClassNamePrefix = 'dx-swatch-';
5
let currentTheme = getNextTheme();
6
7
-function getNextTheme(theme = null) {
+function getNextTheme(theme = '') {
8
return themes[themes.indexOf(theme) + 1] || themes[0];
9
}
10
0 commit comments