refactor: run formatter

This commit is contained in:
Elias Schneider
2025-02-28 11:18:10 +01:00
parent e77edfd5d3
commit dc30f4f3c9
3 changed files with 18 additions and 15 deletions

View File

@@ -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);
}, },
}) })

View File

@@ -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 (