{testFiles?.length ? testFiles.map((testFileObj: TestObject, index) => {
+
{testFiles.length ? testFiles.map((testFileObj: TestObject, index) => {
const elemId = `singleTest${testFileObj.fileName}`
return (
diff --git a/libs/remix-ui/theme-module/src/lib/remix-ui-theme-module.tsx b/libs/remix-ui/theme-module/src/lib/remix-ui-theme-module.tsx
index 92002f3a66..9a8e22143c 100644
--- a/libs/remix-ui/theme-module/src/lib/remix-ui-theme-module.tsx
+++ b/libs/remix-ui/theme-module/src/lib/remix-ui-theme-module.tsx
@@ -8,55 +8,6 @@ export interface RemixUiThemeModuleProps {
themeModule: ThemeModule;
}
-const defaultThemes = [
- {
- name: 'Dark',
- quality: 'dark',
- url: 'assets/css/themes/remix-dark_tvx1s2.css'
- },
- {
- name: 'Light',
- quality: 'light',
- url: 'assets/css/themes/remix-light_powaqg.css'
- },
- {
- name: 'Midcentury',
- quality: 'light',
- url: 'assets/css/themes/remix-midcentury_hrzph3.css'
- },
- {
- name: 'Black',
- quality: 'dark',
- url: 'assets/css/themes/remix-black_undtds.css'
- },
- {
- name: 'Candy',
- quality: 'light',
- url: 'assets/css/themes/remix-candy_ikhg4m.css'
- },
-
- {
- name: 'Cerulean',
- quality: 'light',
- url: 'assets/css/themes/bootstrap-cerulean.min.css'
- },
- {
- name: 'Flatly',
- quality: 'light',
- url: 'assets/css/themes/bootstrap-flatly.min.css'
- },
- {
- name: 'Spacelab',
- quality: 'light',
- url: 'assets/css/themes/bootstrap-spacelab.min.css'
- },
- {
- name: 'Cyborg',
- quality: 'dark',
- url: 'assets/css/themes/bootstrap-cyborg.min.css'
- }
-];
-
export function RemixUiThemeModule({ themeModule }: RemixUiThemeModuleProps) {
const [themeName, setThemeName] = useState('')
@@ -85,7 +36,7 @@ export function RemixUiThemeModule({ themeModule }: RemixUiThemeModuleProps) {
name="theme"
id={theme.name}
data-id={`settingsTabTheme${theme.name}`}
- checked={themeModule.active === theme.name}
+ checked={themeModule.active === theme.name.toLocaleLowerCase()}
/>