feat: Use prettier-eslint to format code
This commit is contained in:
committed by
mrugesh mohapatra
parent
1ba67c4e2b
commit
b13e5fb41a
@ -3,8 +3,7 @@ export const themes = {
|
||||
default: 'default'
|
||||
};
|
||||
|
||||
export const invertTheme = currentTheme => (
|
||||
!currentTheme || currentTheme === themes.default ?
|
||||
themes.night :
|
||||
themes.default
|
||||
);
|
||||
export const invertTheme = currentTheme =>
|
||||
!currentTheme || currentTheme === themes.default
|
||||
? themes.night
|
||||
: themes.default;
|
||||
|
Reference in New Issue
Block a user