chore: Improve toasts
This commit is contained in:
@@ -27,7 +27,7 @@ class UserDelete extends React.Component<Props> {
|
||||
await this.props.auth.deleteUser();
|
||||
this.props.auth.logout();
|
||||
} catch (error) {
|
||||
this.props.ui.showToast(error.message);
|
||||
this.props.ui.showToast(error.message, { type: "error" });
|
||||
} finally {
|
||||
this.isDeleting = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user