From 28c56b6e624b057e0c45c2895bdfe94b30afd17e Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Fri, 8 May 2026 01:26:56 +0200 Subject: [PATCH] Refactor: Update session modal structure and improve accessibility --- src/App.tsx | 63 ++++++++++++++++++++++++----------------------------- 1 file changed, 29 insertions(+), 34 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index db57eb9..9b6c270 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -828,46 +828,41 @@ export default function App() { {sessionModalOpen && (
{ + if (event.target === event.currentTarget) { + setSessionModalOpen(false); + } }} >
-

Open Session

+
+

Open Session

+ +
{sessionsLoading &&

Loading sessions...

} {!sessionsLoading && sessions.length === 0 &&

No saved sessions yet.

} -
- {!sessionsLoading && sessions.map((s) => ( - - ))} -
-
- +
+ {!sessionsLoading && + sessions.map((s) => ( + + ))}