refacter พ้นจากราชการ

This commit is contained in:
AnandaTon 2023-09-20 13:03:54 +07:00
parent 0e5dc057b8
commit 9d0f0eaabf
12 changed files with 34 additions and 63 deletions

View file

@ -84,7 +84,6 @@ const fecthlistRetire = async () => {
await http
.get(config.API.profileOrganizRoot)
.then((res) => {
console.log(res);
const id = res.data.result[0].id;
if (id !== "") {
findlist(id);
@ -117,9 +116,7 @@ const findlist = async (id: string) => {
organizationOrganization: e.oc,
}));
})
.catch((e) => {
console.log(e);
})
.catch((e) => {})
.finally(() => {
hideLoader();
});