update routing
This commit is contained in:
16
src/routes/interaction-panel/$id.tsx
Normal file
16
src/routes/interaction-panel/$id.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Chat } from "@/components/interaction-panel/chat";
|
||||
import { Sandbox } from "@/components/interaction-panel/sandbox";
|
||||
import { createFileRoute } from "@tanstack/react-router";
|
||||
|
||||
export const Route = createFileRoute("/interaction-panel/$id")({
|
||||
component: RouteComponent,
|
||||
});
|
||||
|
||||
function RouteComponent() {
|
||||
return (
|
||||
<div className="flex h-full">
|
||||
<Chat />
|
||||
<Sandbox />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user