From a0a31c42d7e919fb7c0be9b0a4647de38c74acbd Mon Sep 17 00:00:00 2001 From: Davinder Singh Date: Thu, 15 Sep 2022 10:59:35 +0100 Subject: [PATCH] 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 --- .../new-project-button/modal-content-new-project-form.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/frontend/js/features/project-list/components/new-project-button/modal-content-new-project-form.tsx b/services/web/frontend/js/features/project-list/components/new-project-button/modal-content-new-project-form.tsx index bc7dbca75d..b9099b6c11 100644 --- a/services/web/frontend/js/features/project-list/components/new-project-button/modal-content-new-project-form.tsx +++ b/services/web/frontend/js/features/project-list/components/new-project-button/modal-content-new-project-form.tsx @@ -81,7 +81,7 @@ function ModalContentNewProjectForm({ onCancel, template = 'none' }: Props) { onClick={createNewProject} disabled={projectName === '' || isLoading} > - {t('create')} + {isLoading ? `${t('creating')}…` : t('create')}