Scope active session to browser tab
This commit is contained in:
@@ -492,9 +492,7 @@ function AccountMenu({
|
||||
: [];
|
||||
setState(nextState);
|
||||
setSessions(nextSessions);
|
||||
const activeSessionId = normalizeSessionId(
|
||||
readActiveSessionId() ?? nextState?.active_session_id,
|
||||
);
|
||||
const activeSessionId = normalizeSessionId(readActiveSessionId());
|
||||
if (!activeSessionId) {
|
||||
setActiveSession(null);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user