From c453158776e268e7f400f913155768f12280febb Mon Sep 17 00:00:00 2001 From: Krishna Gupta Date: Wed, 3 Jul 2024 01:35:02 +0530 Subject: [PATCH] remove disablePressOnEnter prop. Signed-off-by: Krishna Gupta --- src/pages/InviteReportParticipantsPage.tsx | 1 - src/pages/RoomInvitePage.tsx | 1 - src/pages/workspace/WorkspaceInvitePage.tsx | 1 - 3 files changed, 3 deletions(-) diff --git a/src/pages/InviteReportParticipantsPage.tsx b/src/pages/InviteReportParticipantsPage.tsx index 00ebeac1ac43..91fdd903ec3a 100644 --- a/src/pages/InviteReportParticipantsPage.tsx +++ b/src/pages/InviteReportParticipantsPage.tsx @@ -197,7 +197,6 @@ function InviteReportParticipantsPage({betas, personalDetails, report, didScreen onSubmit={inviteUsers} containerStyles={[styles.flexReset, styles.flexGrow0, styles.flexShrink0, styles.flexBasisAuto]} enabledWhenOffline - disablePressOnEnter={false} /> ), [selectedOptions.length, inviteUsers, translate, styles], diff --git a/src/pages/RoomInvitePage.tsx b/src/pages/RoomInvitePage.tsx index 362c9a0365a7..8a807655ae57 100644 --- a/src/pages/RoomInvitePage.tsx +++ b/src/pages/RoomInvitePage.tsx @@ -266,7 +266,6 @@ function RoomInvitePage({ onSubmit={inviteUsers} containerStyles={[styles.flexReset, styles.flexGrow0, styles.flexShrink0, styles.flexBasisAuto, styles.mb5, styles.ph5]} enabledWhenOffline - disablePressOnEnter={false} isAlertVisible={false} /> diff --git a/src/pages/workspace/WorkspaceInvitePage.tsx b/src/pages/workspace/WorkspaceInvitePage.tsx index caed9503c2d2..3c4d2e509c0f 100644 --- a/src/pages/workspace/WorkspaceInvitePage.tsx +++ b/src/pages/workspace/WorkspaceInvitePage.tsx @@ -285,7 +285,6 @@ function WorkspaceInvitePage({route, betas, invitedEmailsToAccountIDsDraft, poli message={policy?.alertMessage ?? ''} containerStyles={[styles.flexReset, styles.flexGrow0, styles.flexShrink0, styles.flexBasisAuto]} enabledWhenOffline - disablePressOnEnter={false} /> ), [inviteUser, policy?.alertMessage, selectedOptions.length, shouldShowAlertPrompt, styles, translate],