mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
style: format with biome
This commit is contained in:
parent
d9a1976cc0
commit
dd64b06340
@ -78,11 +78,17 @@ export const UpdateServer = () => {
|
||||
await checkAndUpdateImage()
|
||||
.then(async (updateAvailable) => {
|
||||
setIsUpdateAvailable(updateAvailable);
|
||||
toast.info(updateAvailable ? "Update is available" : "No updates available");
|
||||
toast.info(
|
||||
updateAvailable
|
||||
? "Update is available"
|
||||
: "No updates available",
|
||||
);
|
||||
})
|
||||
.catch(() => {
|
||||
setIsUpdateAvailable(false);
|
||||
toast.error("An error occurred while checking for updates, please try again.");
|
||||
toast.error(
|
||||
"An error occurred while checking for updates, please try again.",
|
||||
);
|
||||
});
|
||||
}}
|
||||
isLoading={isLoading}
|
||||
|
Loading…
Reference in New Issue
Block a user