2017-12-21 22:08:54 +01:00
|
|
|
import React from 'react';
|
|
|
|
import { Modal } from 'modal/modal';
|
2017-09-07 23:18:33 +02:00
|
|
|
|
|
|
|
class ModalFileTimeout extends React.PureComponent {
|
|
|
|
render() {
|
|
|
|
const { metadata: { title } } = this.props;
|
|
|
|
|
|
|
|
return (
|
2017-12-21 22:08:54 +01:00
|
|
|
<Modal isOpen contentLabel={__('Download failed')} onConfirmed={closeModal}>
|
|
|
|
{__('LBRY was unable to download the stream')} <strong>{title}</strong>.
|
2017-09-07 23:18:33 +02:00
|
|
|
</Modal>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default ModalFileTimeout;
|