From 47485a1eaf782a43f14f489ea36de886432cea84 Mon Sep 17 00:00:00 2001 From: nkdengineer Date: Thu, 4 Apr 2024 03:40:29 +0700 Subject: [PATCH] fix user can proceed without start button --- src/pages/NewChatConfirmPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/NewChatConfirmPage.tsx b/src/pages/NewChatConfirmPage.tsx index dfb30bded769..84f8e8630b70 100644 --- a/src/pages/NewChatConfirmPage.tsx +++ b/src/pages/NewChatConfirmPage.tsx @@ -134,7 +134,7 @@ function NewChatConfirmPage({newGroupDraft, allPersonalDetails}: NewChatConfirmP onSelectRow={unselectOption} showConfirmButton={selectedOptions.length > 1} confirmButtonText={translate('newChatPage.startGroup')} - onConfirm={createGroup} + onConfirm={selectedOptions.length > 1 ? createGroup : undefined} shouldHideListOnInitialRender={false} />