diff --git a/app/actions/dat-middleware.js b/app/actions/dat-middleware.js
index f0b6f3b5..fd5f2fa6 100644
--- a/app/actions/dat-middleware.js
+++ b/app/actions/dat-middleware.js
@@ -387,7 +387,7 @@ export default class DatMiddleware {
await mkdirp(this.dataDir)
} catch (_) {}
- const [ datOpts, paused ] = await Promise.all([
+ const [datOpts, paused] = await Promise.all([
readJSON(joinPath(this.dataDir, 'dats.json')),
readJSON(joinPath(this.dataDir, 'paused.json'))
])
diff --git a/app/actions/index.js b/app/actions/index.js
index 1c1bf093..d6ceae3e 100644
--- a/app/actions/index.js
+++ b/app/actions/index.js
@@ -25,17 +25,19 @@ export const closeShareDat = () => ({ type: 'DIALOGS_LINK_CLOSE' })
export const createDat = () => dispatch => {
showOpenDialog({
properties: ['openDirectory']
- }).then(({ filePaths, cancelled }) => {
- if (cancelled) return
- if (!filePaths) {
- console.error('Did not get files from the open dialog, closing')
- return
- }
- const path = filePaths[0]
- addDat({ path })(dispatch)
- }).catch((err) => {
- console.error(err)
})
+ .then(({ filePaths, cancelled }) => {
+ if (cancelled) return
+ if (!filePaths) {
+ console.error('Did not get files from the open dialog, closing')
+ return
+ }
+ const path = filePaths[0]
+ addDat({ path })(dispatch)
+ })
+ .catch(err => {
+ console.error(err)
+ })
}
export const requestDownload = key => ({
type: 'REQUEST_DOWNLOAD',
diff --git a/app/components/finder-button.js b/app/components/finder-button.js
index 1bbaedf1..303ea00c 100644
--- a/app/components/finder-button.js
+++ b/app/components/finder-button.js
@@ -10,7 +10,7 @@ const FinderButton = ({ dat, onClick }) => (
}
className='row-action btn-finder'
- onClick={(ev) => {
+ onClick={ev => {
ev.stopPropagation()
shell.openExternal(`file://${resolve(dat.path)}`, () => {})
}}
diff --git a/app/components/inspect.js b/app/components/inspect.js
index 42146b3a..39820522 100644
--- a/app/components/inspect.js
+++ b/app/components/inspect.js
@@ -108,7 +108,7 @@ const Inspect = ({
CHANGE...
-
+
N/A}