Terminate WebSocket Stream when Session is Deleted (#3515)

This commit is contained in:
Jonathan Dobson
2025-09-24 13:11:44 -04:00
committed by GitHub
parent e25d553d2a
commit 27ecd9f3df
2 changed files with 79 additions and 20 deletions

View File

@@ -8,12 +8,12 @@ import {
} from "react";
import { nanoid } from "nanoid";
import {
CheckIcon,
ChevronRightIcon,
ChevronLeftIcon,
CopyIcon,
GlobeIcon,
ReloadIcon,
CheckIcon,
CopyIcon,
} from "@radix-ui/react-icons";
import { useParams, useSearchParams } from "react-router-dom";
import { useEdgesState, useNodesState, Edge } from "@xyflow/react";
@@ -124,6 +124,8 @@ function CopyText({ text }: { text: string }) {
);
}
export { CopyText };
function Workspace({
initialNodes,
initialEdges,