2018-09-26 13:48:07 -04:00
|
|
|
// @flow
|
2017-12-21 18:08:54 -03:00
|
|
|
import React from 'react';
|
|
|
|
import { Modal } from 'modal/modal';
|
2017-08-31 09:45:13 +05:30
|
|
|
|
2018-09-26 13:48:07 -04:00
|
|
|
type Props = {
|
|
|
|
closeModal: () => void,
|
|
|
|
};
|
|
|
|
|
|
|
|
class ModalTransactionFailed extends React.PureComponent<Props> {
|
2017-08-31 09:45:13 +05:30
|
|
|
render() {
|
|
|
|
const { closeModal } = this.props;
|
|
|
|
|
|
|
|
return (
|
2019-05-07 17:38:29 -04:00
|
|
|
<Modal isOpen contentLabel={__('Transaction failed')} title={__('Transaction Failed')} onConfirmed={closeModal}>
|
2019-07-21 17:31:22 -04:00
|
|
|
<p>{__('Sorry about that. Contact help@lbry.com if you continue to have issues.')}</p>
|
2019-01-14 13:40:06 -05:00
|
|
|
</Modal>
|
2017-08-31 09:45:13 +05:30
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default ModalTransactionFailed;
|