Add close handler to error modal
This commit is contained in:
parent
8dd20edfcb
commit
439f6523b1
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ var App = React.createClass({
|
|||
: null}
|
||||
|
||||
</Modal>
|
||||
<Modal isOpen={this.state.modal == 'error'} className='error-modal'>
|
||||
<Modal isOpen={this.state.modal == 'error'} className='error-modal' onConfirmed={this.closeModal}>
|
||||
<h3>Error</h3>
|
||||
<p>Sorry, but LBRY has encountered an error! Please <Link href="/?report" label="report a bug" /> and include the details below.</p>
|
||||
{this.state.errorInfo}
|
||||
|
|
Loading…
Reference in a new issue