changed messagebox to error

This commit is contained in:
pepper 2021-01-27 22:56:20 -05:00
parent 03bd06745b
commit a8289e9f65

View File

@ -77,7 +77,7 @@ export default class Book extends Component {
return ( return (
<div> <div>
<CredChecker credCallback={this.credCallback} /> <CredChecker credCallback={this.credCallback} />
{this.state.error ? <Msgbox msg={this.state.error} /> : null} {this.state.error ? <Msgbox error={[this.state.error]} /> : null}
</div> </div>
); );
} }