Merge pull request #9783 from overleaf/jel-focus-copy-project-input

[web] Add auto focus to clone project input

GitOrigin-RevId: f78313437956d6fb0c3125ca0adf825235c37fa6
This commit is contained in:
Jessica Lawshe 2022-10-03 08:20:34 -05:00 committed by Copybot
parent 8b19b6107a
commit f2748c13d7

View file

@ -1,3 +1,4 @@
/* eslint-disable jsx-a11y/no-autofocus */
import PropTypes from 'prop-types'
import { useMemo, useState } from 'react'
import { useTranslation } from 'react-i18next'
@ -83,6 +84,7 @@ export default function CloneProjectModalContent({
required
value={clonedProjectName}
onChange={event => setClonedProjectName(event.target.value)}
autoFocus
/>
</FormGroup>
</form>