refac: toast error
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
_user.password,
|
||||
_user.role
|
||||
).catch((error) => {
|
||||
toast.error(error);
|
||||
toast.error(`${error}`);
|
||||
});
|
||||
|
||||
if (res) {
|
||||
|
||||
Reference in New Issue
Block a user