Skip to content

Commit dacccfc

Browse files
committed
chore: upgrade to Electron v9
1 parent a01e140 commit dacccfc

File tree

4 files changed

+1304
-1075
lines changed

4 files changed

+1304
-1075
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
"@types/react-redux": "^7.1.7",
141141
"@types/react-transition-group": "^4.2.4",
142142
"@types/styled-components": "^5.0.1",
143-
"electron": "^8.2.0",
143+
"electron": "^9.0.0",
144144
"electron-builder": "^22.4.1",
145145
"electron-notarize": "^0.3.0",
146146
"jest": "^25.2.7",

src/js/components/ui/checkbox.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ const StyledCheckbox = styled.div`
4545
}
4646
4747
${Icon} {
48-
// @ts-ignore
49-
visibility: ${(props) => (props.isChecked ? 'visible' : 'hidden')};
48+
visibility: ${(props) => ((props as any).isChecked ? 'visible' : 'hidden')};
5049
}
5150
`;
5251

src/js/routes/settings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Title = styled.h3`
4545
font-weight: 500;
4646
`;
4747

48-
const ButtonClose = styled.button`
48+
const ButtonClose = styled.a`
4949
border: 0;
5050
padding: 0.25rem;
5151
font-size: 2rem;

0 commit comments

Comments
 (0)