From 03671583cdd376cbce3a86df545db7c1f65062f6 Mon Sep 17 00:00:00 2001 From: hypercross Date: Wed, 8 Jul 2026 00:35:01 +0800 Subject: [PATCH] feat: allow closing dialogs by clicking backdrop --- src/components/journal/CreateSessionDialog.tsx | 10 ++++++++-- src/components/journal/InviteDialog.tsx | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/components/journal/CreateSessionDialog.tsx b/src/components/journal/CreateSessionDialog.tsx index a37f2aa..0ce847a 100644 --- a/src/components/journal/CreateSessionDialog.tsx +++ b/src/components/journal/CreateSessionDialog.tsx @@ -25,8 +25,14 @@ export const CreateSessionDialog: Component = ( return ( -
-
+
+
e.stopPropagation()} + >

新建会话