lbry-desktop/ui/modal/modalTransactionFailed/view.jsx
2020-09-29 17:12:32 -04:00

21 lines
533 B
JavaScript

// @flow
import React from 'react';
import { Modal } from 'modal/modal';
type Props = {
closeModal: () => void,
};
class ModalTransactionFailed extends React.PureComponent<Props> {
render() {
const { closeModal } = this.props;
return (
<Modal isOpen contentLabel={__('Transaction failed')} title={__('Transaction failed')} onConfirmed={closeModal}>
<p>{__('Sorry about that. Contact help@lbry.com if you continue to have issues.')}</p>
</Modal>
);
}
}
export default ModalTransactionFailed;