Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

misc: added optional accesS

Sheen Capadngan178acc412d3c
diff --git a/frontend/src/pages/user/PersonalSettingsPage/components/SessionsSection/SessionsTable.tsx b/frontend/src/pages/user/PersonalSettingsPage/components/SessionsSection/SessionsTable.tsx
index e5cdd9112a..8d10be3180 100644
--- a/frontend/src/pages/user/PersonalSettingsPage/components/SessionsSection/SessionsTable.tsx
+++ b/frontend/src/pages/user/PersonalSettingsPage/components/SessionsSection/SessionsTable.tsx
@@ -65,7 +65,7 @@ export const SessionsTable = () => {
onChange={(isOpen) => handlePopUpToggle("deleteSession", isOpen)}
deleteKey="confirm"
onDeleteApproved={() =>
- handleSignOut((popUp?.deleteSession?.data as { sessionId: string }).sessionId)
+ handleSignOut((popUp?.deleteSession?.data as { sessionId: string })?.sessionId)
}
/>
<TableContainer className="mt-4">