21 lines
420 B
React
21 lines
420 B
React
|
import React from "react";
|
||
|
import { Modal } from "modal/modal";
|
||
|
|
||
|
class ModalTransactionFailed extends React.PureComponent {
|
||
|
render() {
|
||
|
const { closeModal } = this.props;
|
||
|
|
||
|
return (
|
||
|
<Modal
|
||
|
isOpen={true}
|
||
|
contentLabel={__("Transaction failed")}
|
||
|
onConfirmed={closeModal}
|
||
|
>
|
||
|
{__("Something went wrong")}:
|
||
|
</Modal>
|
||
|
);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default ModalTransactionFailed;
|