diff options
author | 2021-08-13 09:15:33 +0530 | |
---|---|---|
committer | 2021-08-13 07:32:56 +0000 | |
commit | 7517916223d6967b83bc95f56a3e867da1a73193 (patch) | |
tree | 1e3d42605ec512fc02fd62fb7e32b0ea5d54d585 /src/index.js | |
parent | chore: Refactoring to reuse already defined constants (diff) | |
download | ferdium-app-7517916223d6967b83bc95f56a3e867da1a73193.tar.gz ferdium-app-7517916223d6967b83bc95f56a3e867da1a73193.tar.zst ferdium-app-7517916223d6967b83bc95f56a3e867da1a73193.zip |
chore: use exported default object
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index 9146a23da..d97f2cf09 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -329,7 +329,7 @@ const createWindow = () => { | |||
329 | 329 | ||
330 | if (isMac) { | 330 | if (isMac) { |
331 | // eslint-disable-next-line global-require | 331 | // eslint-disable-next-line global-require |
332 | const { askFormacOSPermissions } = require('./electron/macOSPermissions'); | 332 | const { default: askFormacOSPermissions } = require('./electron/macOSPermissions'); |
333 | setTimeout(() => askFormacOSPermissions(mainWindow), ms('30s')); | 333 | setTimeout(() => askFormacOSPermissions(mainWindow), ms('30s')); |
334 | } | 334 | } |
335 | 335 | ||