See the provided route tree in the image. In that case, the index.tsx never renders.
Here's my route.tsx:
import { createFileRoute, Outlet } from "@tanstack/react-router";
import { OrganizationNav } from "@/components/layout/organization-nav";
export const Route = createFileRoute("/_authed/$organizationSlug/(orglayout)")({
component: RouteComponent,
});
function RouteComponent() {
return (
<>
<OrganizationNav />
<Outlet />
</>
);
}
It properly includes the outlet, and the /~/integrations route renders properly. But not the index.tsx, can someone tell me why this happens, is this intended and how should I get around this if it's not a bug?