Reformat code with Prettier's new rules.
This commit is contained in:
@@ -14,7 +14,7 @@ const useCurrentTheme = () => {
|
||||
const themeName =
|
||||
Object.keys(themes).find((t) => t === state.theme) ||
|
||||
Object.keys(themes).find(
|
||||
(t) => themes[t].themeName === config.defaultTheme
|
||||
(t) => themes[t].themeName === config.defaultTheme,
|
||||
) ||
|
||||
'DarkTheme'
|
||||
return themes[themeName]
|
||||
|
||||
Reference in New Issue
Block a user