50d7b3ab70
Also display a Learn More link pointing to the appropriate faq.
29 lines
754 B
JavaScript
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;
|