diff --git a/src/ui/component/fileDownloadLink/view.jsx b/src/ui/component/fileDownloadLink/view.jsx index 0d3178390..93f4395e9 100644 --- a/src/ui/component/fileDownloadLink/view.jsx +++ b/src/ui/component/fileDownloadLink/view.jsx @@ -81,12 +81,10 @@ class FileDownloadLink extends React.PureComponent { button="alt" iconColor="green" icon={ICONS.EXTERNAL} - onClick={ - () => { - pause(); - openModal(MODALS.CONFIRM_EXTERNAL_RESOURCE, { path: fileInfo.download_path }); - } - } + onClick={() => { + pause(); + openModal(MODALS.CONFIRM_EXTERNAL_RESOURCE, { path: fileInfo.download_path }); + }} /> ); diff --git a/src/ui/modal/modalOpenExternalResource/view.jsx b/src/ui/modal/modalOpenExternalResource/view.jsx index 9f3c52bc1..d1ba71ac0 100644 --- a/src/ui/modal/modalOpenExternalResource/view.jsx +++ b/src/ui/modal/modalOpenExternalResource/view.jsx @@ -19,7 +19,7 @@ class ModalOpenExternalResource extends React.PureComponent { const { openExternal, openItem, showItemInFolder } = shell; if (uri) { openExternal(uri); - } else if(path) { + } else if (path) { const success = openItem(path); if (!success) { showItemInFolder(path); @@ -58,10 +58,8 @@ class ModalOpenExternalResource extends React.PureComponent { >

- { - (uri && __('This link leads to an external website.')) || - (path && __('This file has been shared with you by other people.')) - } + {(uri && __('This link leads to an external website.')) || + (path && __('This file has been shared with you by other people.'))}

{uri || path}

{__('LBRY Inc is not responsible for its content, click continue to proceed at your own risk.')}