Merge pull request #18911 from overleaf/ii-new-project-modal-fix

[web] Allow creating new project by submitting the form with keyboard

GitOrigin-RevId: e04e70a0713299d6d8459755359d16ea7755c67e
This commit is contained in:
ilkin-overleaf 2024-06-14 12:31:41 +03:00 committed by Copybot
parent 81b0eb7eb5
commit bb2a3b091d

View file

@ -13,6 +13,7 @@ function OLForm(props: OLFormProps) {
componentClass: rest.as,
bsClass: rest.className,
children: rest.children,
onSubmit: rest.onSubmit as React.FormEventHandler<BS3Form> | undefined,
...bs3Props,
}