Reformat code with Prettier's new rules.

This commit is contained in:
Caio Cotts
2023-12-18 14:56:03 -05:00
parent 735d670a5b
commit 86757663d6
82 changed files with 236 additions and 222 deletions
+2 -2
View File
@@ -5,14 +5,14 @@ import themes from '../themes'
const defaultTheme = () => {
return (
Object.keys(themes).find(
(t) => themes[t].themeName === config.defaultTheme
(t) => themes[t].themeName === config.defaultTheme,
) || 'DarkTheme'
)
}
export const themeReducer = (
previousState = defaultTheme(),
{ type, payload }
{ type, payload },
) => {
if (type === CHANGE_THEME) {
return payload