Skip to content

Commit

Permalink
chore: format code using prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ircfspace committed Dec 10, 2024
1 parent e5cb227 commit 92d8abc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/renderer/components/Modal/Profile/useProfileModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ const useProfileModal = (props: ProfileModalProps) => {
useEffect(() => {
settings.get('profiles').then((value) => {
setProfilesInput(
typeof value === 'undefined' ? JSON.parse(defaultSettings.profiles) : JSON.parse(value)
typeof value === 'undefined'
? JSON.parse(defaultSettings.profiles)
: JSON.parse(value)
);
});
}, []);
Expand Down

0 comments on commit 92d8abc

Please sign in to comment.