From c806d10f1ef84198df80d53fdd8705ab2f97f7fc Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Thu, 10 May 2018 19:06:41 -0400 Subject: [PATCH] fix incompatible daemon modal --- .../modal/modalIncompatibleDaemon/view.jsx | 14 ++++++++++++-- src/renderer/redux/actions/app.js | 17 +++++++++++++---- src/renderer/redux/reducers/app.js | 2 -- 3 files changed, 25 insertions(+), 8 deletions(-) diff --git a/src/renderer/modal/modalIncompatibleDaemon/view.jsx b/src/renderer/modal/modalIncompatibleDaemon/view.jsx index 7b056bcbe..e5a2b6309 100644 --- a/src/renderer/modal/modalIncompatibleDaemon/view.jsx +++ b/src/renderer/modal/modalIncompatibleDaemon/view.jsx @@ -1,8 +1,14 @@ +// @flow import React from 'react'; import { Modal } from 'modal/modal'; import Button from 'component/button'; -class ModalIncompatibleDaemon extends React.PureComponent { +type Props = { + quit: () => void, + quitAnyDaemon: () => void, +}; + +class ModalIncompatibleDaemon extends React.PureComponent { render() { const { quit, quitAnyDaemon } = this.props; @@ -19,7 +25,11 @@ class ModalIncompatibleDaemon extends React.PureComponent { {__( 'This browser is running with an incompatible version of the LBRY protocol and your install must be repaired. ' )} -