Revert "chore(i18n): close translation gaps across all 16 locales"
This commit is contained in:
1 parent
959e2ff7b8
commit
c6461d2635
81 files changed
+1296
-4046
No files matched your search
@@ -57,11 +57,7 @@ export const usePost = <B = any, R = any>() => {
|
||||
...config?.headers,
|
||||
},
|
||||
});
|
||||
if (res.data?.success === false) {
|
||||
toastError(res.data?.msg || "Operation failed");
|
||||
} else {
|
||||
toastSuccess(res.data?.msg || "Operation successful");
|
||||
}
|
||||
toastSuccess(res.data?.msg || "Operation successful");
|
||||
|
||||
return res.data;
|
||||
} catch (err: any) {
|
||||
|
||||
Reference in new issue
Block a user