Merge pull request #9580 from overleaf/mf-add-creating-button-text-create-project

Change button text to "Creating..." while creting a project

GitOrigin-RevId: 45542423aba1d156ea9125d0db799c4366e7d82c
This commit is contained in:
Davinder Singh 2022-09-15 10:59:35 +01:00 committed by Copybot
parent 3da4ff169b
commit a0a31c42d7

View file

@ -81,7 +81,7 @@ function ModalContentNewProjectForm({ onCancel, template = 'none' }: Props) {
onClick={createNewProject}
disabled={projectName === '' || isLoading}
>
{t('create')}
{isLoading ? `${t('creating')}` : t('create')}
</Button>
</Modal.Footer>
</>