import { PageSection } from "@patternfly/react-core"; import { useTranslation } from "react-i18next"; import { adminClient } from "../admin-client"; import { useRealm } from "../context/realm-context/RealmContext"; import SessionsTable from "../sessions/SessionsTable"; import { useParams } from "../utils/useParams"; import type { UserParams } from "./routes/User"; export const UserSessions = () => { const { id } = useParams(); const { realm } = useRealm(); const { t } = useTranslation("sessions"); const loader = () => adminClient.users.listSessions({ id, realm }); return ( ); };