prettier
This commit is contained in:
parent
a83e06d622
commit
75a6e8baba
2 changed files with 7 additions and 11 deletions
|
@ -81,12 +81,10 @@ class FileDownloadLink extends React.PureComponent<Props> {
|
||||||
button="alt"
|
button="alt"
|
||||||
iconColor="green"
|
iconColor="green"
|
||||||
icon={ICONS.EXTERNAL}
|
icon={ICONS.EXTERNAL}
|
||||||
onClick={
|
onClick={() => {
|
||||||
() => {
|
|
||||||
pause();
|
pause();
|
||||||
openModal(MODALS.CONFIRM_EXTERNAL_RESOURCE, { path: fileInfo.download_path });
|
openModal(MODALS.CONFIRM_EXTERNAL_RESOURCE, { path: fileInfo.download_path });
|
||||||
}
|
}}
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
</ToolTip>
|
</ToolTip>
|
||||||
);
|
);
|
||||||
|
|
|
@ -58,10 +58,8 @@ class ModalOpenExternalResource extends React.PureComponent<Props> {
|
||||||
>
|
>
|
||||||
<section className="card__content">
|
<section className="card__content">
|
||||||
<p>
|
<p>
|
||||||
{
|
{(uri && __('This link leads to an external website.')) ||
|
||||||
(uri && __('This link leads to an external website.')) ||
|
(path && __('This file has been shared with you by other people.'))}
|
||||||
(path && __('This file has been shared with you by other people.'))
|
|
||||||
}
|
|
||||||
</p>
|
</p>
|
||||||
<blockquote>{uri || path}</blockquote>
|
<blockquote>{uri || path}</blockquote>
|
||||||
<p>{__('LBRY Inc is not responsible for its content, click continue to proceed at your own risk.')}</p>
|
<p>{__('LBRY Inc is not responsible for its content, click continue to proceed at your own risk.')}</p>
|
||||||
|
|
Loading…
Reference in a new issue