Skip to content

Commit

Permalink
fix: do the lint pls
Browse files Browse the repository at this point in the history
  • Loading branch information
maykbrito committed Jan 18, 2022
1 parent c4de72e commit cc92857
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion electron/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ async function createTrayContextMenu() {
click(menuItem: any) {
const updatedPresets = userPreferences.store.presets.map(
(p: PresetOptions) => {
p.isDefault = menuItem.label === p.name ? true : false
p.isDefault = menuItem.label === p.name
return p
}
)
Expand Down
4 changes: 1 addition & 3 deletions electron/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,7 @@ export const userPreferences = new Store({
height: 600,
},
},
shapes: [
'circle(50% at 50% 50%)'
],
shapes: ['circle(50% at 50% 50%)'],
},
},
],
Expand Down

0 comments on commit cc92857

Please sign in to comment.