refactor: run formatter
This commit is contained in:
@@ -413,7 +413,7 @@ const Account = () => {
|
|||||||
onConfirm: async () => {
|
onConfirm: async () => {
|
||||||
await userService
|
await userService
|
||||||
.removeCurrentUser()
|
.removeCurrentUser()
|
||||||
.then(()=> window.location.reload())
|
.then(() => window.location.reload())
|
||||||
.catch(toast.axiosError);
|
.catch(toast.axiosError);
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -54,7 +54,9 @@ const Admin = () => {
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
configService.isNewReleaseAvailable().then((isNewReleaseAvailable) => {
|
configService
|
||||||
|
.isNewReleaseAvailable()
|
||||||
|
.then((isNewReleaseAvailable) => {
|
||||||
if (isNewReleaseAvailable) {
|
if (isNewReleaseAvailable) {
|
||||||
setManagementOptions([
|
setManagementOptions([
|
||||||
...managementOptions,
|
...managementOptions,
|
||||||
@@ -66,7 +68,8 @@ const Admin = () => {
|
|||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}).catch();
|
})
|
||||||
|
.catch();
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user