Skip to content

Commit a384fa8

Browse files
committed
fixing types for Icons.stories.tsx
1 parent ee29bb6 commit a384fa8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/handleError.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ function handleError (err) {
1919
}
2020

2121
logger.error(String(err))
22-
// @ts-ignore
2322
criticalErrorDialog(err)
2423
}
2524

src/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ async function run () {
5858
try {
5959
await app.whenReady()
6060
} catch (e) {
61-
// @ts-ignore
62-
dialog.showErrorBox('Electron could not start', e.stack)
61+
dialog.showErrorBox('Electron could not start', String(e))
6362
app.exit(1)
6463
}
6564

0 commit comments

Comments
 (0)