lbry-desktop/ui/js/component/modalTransactionFailed/view.jsx
2017-08-08 03:49:22 +05:30

20 lines
424 B
JavaScript

import React from "react";
import { Modal } from "component/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;