lbry-desktop/ui/modal/modalTransactionFailed/view.jsx

22 lines
533 B
React
Raw Normal View History

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