refac: toast error
This commit is contained in:
1 parent
af48f346f1
commit
a863f98c53
52 files changed
+123
-123
No files matched your search
@@ -42,7 +42,7 @@
|
||||
const updateLdapServerHandler = async () => {
|
||||
if (!ENABLE_LDAP) return;
|
||||
const res = await updateLdapServer(localStorage.token, LDAP_SERVER).catch((error) => {
|
||||
toast.error(error);
|
||||
toast.error(`${error}`);
|
||||
return null;
|
||||
});
|
||||
if (res) {
|
||||
|
||||
Reference in new issue
Block a user