fix: undefined err

This commit is contained in:
Aiden Cline
2025-11-20 18:43:58 -06:00
parent 76f002f74e
commit c52cbc0c1a
@@ -147,6 +147,7 @@ export function Session() {
// Auto-navigate to whichever session currently needs permission input
createEffect(() => {
const currentSession = session()
if (!currentSession) return
const currentPermissions = permissions()
let targetID = currentPermissions.length > 0 ? currentSession.id : undefined