We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 213ad79 commit 77e0187Copy full SHA for 77e0187
1 file changed
apps/app/app/(dashboard)/app/account/components/sessions-management-card.tsx
@@ -30,7 +30,7 @@ export function SessionsManagementCard(props: {
30
currentSession?: Session | null;
31
}) {
32
const { data: currentSession, isPending: isPendingCurrentSession } = useQuery(
33
- sessionQueryOptionsClient(),
+ sessionQueryOptionsClient({ init: props.currentSession }),
34
);
35
const { data: listSessions, isPending: isPendingListSessions } =
36
useSuspenseQuery(listSessionsQueryOptionsClient());
0 commit comments