2018-09-26 19:48:07 +02:00
|
|
|
// @flow
|
2017-12-21 22:08:54 +01:00
|
|
|
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 (
|
2020-08-26 22:28:33 +02:00
|
|
|
<Modal isOpen contentLabel={__('Transaction failed')} title={__('Transaction failed')} onConfirmed={closeModal}>
|
2021-03-03 20:23:42 +01:00
|
|
|
<p>{__('Sorry about that. Contact help@odysee.com if you continue to have issues.')}</p>
|
2019-01-14 19:40:06 +01:00
|
|
|
</Modal>
|
2017-08-31 06:15:13 +02:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default ModalTransactionFailed;
|