mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
lint
This commit is contained in:
parent
0724a40cb7
commit
21cec50e2e
1 changed files with 6 additions and 1 deletions
|
@ -48,7 +48,12 @@ export function SettingsAppearance({
|
|||
}, [loadThemes]);
|
||||
|
||||
useEffect(() => {
|
||||
if (appearance.theme && appearance.authorId && appearance.authorName && !hasShownModal) {
|
||||
if (
|
||||
appearance.theme &&
|
||||
appearance.authorId &&
|
||||
appearance.authorName &&
|
||||
!hasShownModal
|
||||
) {
|
||||
setIsImportThemeModalVisible(true);
|
||||
setImportTheme({
|
||||
theme: appearance.theme,
|
||||
|
|
Loading…
Add table
Reference in a new issue