refactor: prevent to updates download automatically

This commit is contained in:
Mauricio Siu
2024-05-26 03:06:31 -06:00
parent 0f025182f1
commit 8a0ffbe754
9 changed files with 112 additions and 21 deletions

View File

@@ -19,7 +19,11 @@ export const UpdateWebServer = () => {
return (
<AlertDialog>
<AlertDialogTrigger asChild>
<Button className="relative" variant="secondary" isLoading={isLoading}>
<Button
className="relative w-full"
variant="secondary"
isLoading={isLoading}
>
<span className="absolute -right-1 -top-2 flex h-3 w-3">
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75" />
<span className="relative inline-flex rounded-full h-3 w-3 bg-green-500" />