Tasks: fix Edit error Toast severity

master
Andrew P Maney 5 years ago committed by Tom Hacohen
parent 508d02a0ea
commit 04c4ae94cd

@ -314,7 +314,7 @@ class TaskEdit extends React.PureComponent<PropsType> {
(by editing the first instance) is supported. (by editing the first instance) is supported.
</div> </div>
)} )}
<Toast open={!!this.state.error} onClose={this.handleCloseToast}> <Toast open={!!this.state.error} severity="error" onClose={this.handleCloseToast}>
ERROR! {this.state.error} ERROR! {this.state.error}
</Toast> </Toast>
<form style={styles.form} onSubmit={this.onSubmit}> <form style={styles.form} onSubmit={this.onSubmit}>

Loading…
Cancel
Save