mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-07 05:32:35 +00:00
chore: fix error message
This commit is contained in:
@ -34,7 +34,7 @@ const MemberSection = () => {
|
||||
await userStore.deleteUser(user.id);
|
||||
toast.success(`User \`${user.nickname}\` deleted successfully`);
|
||||
} catch (error: any) {
|
||||
toast.error(`Failed to delete user \`${user.nickname}\`: ${error.response.data.message}`);
|
||||
toast.error(`Failed to delete user \`${user.nickname}\`: ${error.details}`);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user