Open History to see the last commit
1import { createFileRoute } from "@tanstack/react-router";
2
3// The view lives in the `_chat` layout (see ThreadRouteView) so a draft's
4// promotion to `/$environmentId/$threadId` keeps the same ChatView mounted.
5export const Route = createFileRoute("/_chat/draft/$draftId")({
6 component: () => null,
7});