diff --git a/src/main/index.js b/src/main/index.js index d068e87e0..ec468ae70 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -64,8 +64,8 @@ app.on('ready', async () => { dialog.showErrorBox( 'Daemon has Exited', 'The daemon may have encountered an unexpected error, or another daemon instance is already running. \n\n' + - 'For more information please visit: \n' + - 'https://lbry.io/faq/startup-troubleshooting' + 'For more information please visit: \n' + + 'https://lbry.io/faq/startup-troubleshooting' ); app.quit(); } diff --git a/src/renderer/analytics.js b/src/renderer/analytics.js index b3456bf1d..a52b46651 100644 --- a/src/renderer/analytics.js +++ b/src/renderer/analytics.js @@ -39,15 +39,15 @@ const analytics: Analytics = { } analyticsEnabled = enabled; }, - apiLog: (uri: string, outpoint: string, claim_id: string): void => { - if(analyticsEnabled) { + apiLog: (uri: string, outpoint: string, claimId: string): void => { + if (analyticsEnabled) { Lbryio.call('file', 'view', { uri, - outpoint: outpoint, - claim_id: claim_id, + outpoint, + claim_id: claimId, }).catch(() => {}); } - } + }, }; export default analytics; diff --git a/src/renderer/component/fileList/view.jsx b/src/renderer/component/fileList/view.jsx index afb446323..eef0993c6 100644 --- a/src/renderer/component/fileList/view.jsx +++ b/src/renderer/component/fileList/view.jsx @@ -15,27 +15,27 @@ class FileList extends React.PureComponent { this._sortFunctions = { dateNew(fileInfos) { return fileInfos.slice().sort((fileInfo1, fileInfo2) => { - const height1 = fileInfo1.height - const height2 = fileInfo2.height + const height1 = fileInfo1.height; + const height2 = fileInfo2.height; if (height1 > height2) { return -1; } else if (height1 < height2) { return 1; } return 0; - }); + }); }, dateOld(fileInfos) { return fileInfos.slice().sort((fileInfo1, fileInfo2) => { - const height1 = fileInfo1.height - const height2 = fileInfo2.height + const height1 = fileInfo1.height; + const height2 = fileInfo2.height; if (height1 < height2) { return -1; } else if (height1 > height2) { return 1; } return 0; - }); + }); }, title(fileInfos) { return fileInfos.slice().sort((fileInfo1, fileInfo2) => { diff --git a/src/renderer/component/rewardSummary/view.jsx b/src/renderer/component/rewardSummary/view.jsx index 36507d535..9fa611902 100644 --- a/src/renderer/component/rewardSummary/view.jsx +++ b/src/renderer/component/rewardSummary/view.jsx @@ -15,9 +15,9 @@ const RewardSummary = (props: Props) => {
- {__('Read our')}{' '} - {__('FAQ')}{' '}{__('to learn more about LBRY Rewards')}. -
+ {__('Read our')} {__('FAQ')}{' '} + {__('to learn more about LBRY Rewards')}. +