12 lines
357 B
TypeScript
12 lines
357 B
TypeScript
import { createFileRoute } from "@tanstack/react-router";
|
|
import { DashboardPage } from "@/client/features/dashboard/DashboardPage";
|
|
|
|
export const Route = createFileRoute("/_project/p/$projectId/")({
|
|
component: DashboardRoute,
|
|
});
|
|
|
|
function DashboardRoute() {
|
|
const { projectId } = Route.useParams();
|
|
return <DashboardPage projectId={projectId} />;
|
|
}
|