From caa522118dcb5044bd333481510a5941b4ad9f1d Mon Sep 17 00:00:00 2001 From: Prateek Shourya Date: Tue, 25 Mar 2025 20:15:35 +0530 Subject: [PATCH] [RANTS-29] fix: enter key does not work in the workspace member invite modal (#6816) --- web/core/components/workspace/invite-modal/form.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/web/core/components/workspace/invite-modal/form.tsx b/web/core/components/workspace/invite-modal/form.tsx index 1178f1f6ec..cbf53e237d 100644 --- a/web/core/components/workspace/invite-modal/form.tsx +++ b/web/core/components/workspace/invite-modal/form.tsx @@ -16,13 +16,7 @@ export const InvitationForm = observer((props: TInvitationFormProps) => { const { title, description, children, actions, onSubmit, className } = props; return ( -
{ - if (e.code === "Enter") e.preventDefault(); - }} - className={className} - > +
{title}