import { Outlet, createRootRouteWithContext } from '@tanstack/react-router';
import type { AuthResponseDtoUserDetailDto } from '@/sdk';

interface RouterContext {
  token: string;
  data: AuthResponseDtoUserDetailDto;
}

export const Route = createRootRouteWithContext<RouterContext>()({
  component: App,
});

function App() {
  return <Outlet />;
}
