mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
chore(site): replace usage of deprecated Stack component (#21613)
Replace usage of deprecated Stack component in AgentDevcontainerCard
This commit is contained in:
@@ -24,7 +24,6 @@ import {
|
||||
} from "components/Dialog/Dialog";
|
||||
import { displayError } from "components/GlobalSnackbar/utils";
|
||||
import { Spinner } from "components/Spinner/Spinner";
|
||||
import { Stack } from "components/Stack/Stack";
|
||||
import {
|
||||
Tooltip,
|
||||
TooltipContent,
|
||||
@@ -170,12 +169,10 @@ export const AgentDevcontainerCard: FC<AgentDevcontainerCardProps> = ({
|
||||
const appsClasses = "flex flex-wrap gap-4 empty:hidden md:justify-start";
|
||||
|
||||
return (
|
||||
<Stack
|
||||
<div
|
||||
key={devcontainer.id}
|
||||
direction="column"
|
||||
spacing={0}
|
||||
className={cn(
|
||||
"relative py-4 border border-dashed border-border rounded",
|
||||
"flex flex-col max-w-full relative py-4 border border-dashed border-border rounded",
|
||||
devcontainer.error && "border-content-destructive border-solid",
|
||||
)}
|
||||
>
|
||||
@@ -380,7 +377,7 @@ export const AgentDevcontainerCard: FC<AgentDevcontainerCardProps> = ({
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</Stack>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user