@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
tsx 9 lines 424 Bytes
Raw
1 import { Navigate, createFileRoute } from "@tanstack/react-router";
2
3 // A copied thread link. On the hosted app its chooser shows first; this opens the thread after it.
4 export const Route = createFileRoute("/threads/$environmentId/$threadId")({
5 component: function ThreadLinkRedirect() {
6 const params = Route.useParams();
7 return <Navigate to="/$environmentId/$threadId" params={params} search replace />;
8 },
9 });