added some optimizations

This commit is contained in:
yoan
2024-08-23 11:33:43 +08:00
parent a5beb26d9d
commit f394e34861
13 changed files with 192 additions and 69 deletions

View File

@@ -1,6 +1,7 @@
import DeployProgress from "@/components/certimate/DeployProgress";
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
import { Button } from "@/components/ui/button";
import { ScrollArea } from "@/components/ui/scroll-area";
import {
Sheet,
@@ -35,7 +36,7 @@ const History = () => {
}, [domain]);
return (
<div>
<ScrollArea className="h-[80vh] overflow-hidden">
<div className="text-muted-foreground"></div>
{!deployments?.length ? (
<>
@@ -184,7 +185,7 @@ const History = () => {
))}
</>
)}
</div>
</ScrollArea>
);
};