lbry-desktop/ui/js/component/modalIncompatibleDaemon/view.jsx
hackrush 50d7b3ab70 (quickfix) Now displays quit button in IncompatibleDaemonModal.
Also display a Learn More link pointing to the appropriate faq.
2017-07-31 10:19:56 +05:30

29 lines
754 B
JavaScript

import React from "react";
import { Modal } from "component/modal";
import Link from "component/link";
class ModalIncompatibleDaemon extends React.PureComponent {
render() {
const { quit } = this.props;
return (
<Modal
isOpen={true}
contentLabel={__("Incompatible daemon running")}
type="alert"
confirmButtonLabel={__("Quit")}
onConfirmed={quit}
>
{__(
"This browser is running with an incompatible version of the LBRY protocol and your install must be repaired. "
)}
<Link
label={__("Learn more")}
href="https://lbry.io/faq/incompatible-protocol-version"
/>
</Modal>
);
}
}
export default ModalIncompatibleDaemon;