Skip to content

Commit b5585f6

Browse files
authored
Added space between if and (
1 parent 4739a18 commit b5585f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/reactComponents/ThemeModal.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,11 @@ export default ThemeModal;
195195

196196
export const antdThemeFromString = (theme: string): Antd.ThemeConfig => {
197197
let compact = false;
198-
if(theme == 'compact-dark'){
198+
if (theme == 'compact-dark') {
199199
compact = true;
200200
theme = 'dark';
201201
}
202-
else if(theme == 'compact'){
202+
else if (theme == 'compact') {
203203
compact = true;
204204
theme = 'light';
205205
}
@@ -239,4 +239,4 @@ export const antdThemeFromString = (theme: string): Antd.ThemeConfig => {
239239
}
240240
}
241241
return antdThemeFromString('light'); // Default to light theme if unknown
242-
}
242+
}

0 commit comments

Comments
 (0)