update submit button state

This commit is contained in:
uzairr
2021-06-04 18:20:18 +05:00
committed by Waheed Ahmed
parent e1546acb14
commit 7089803e50
2 changed files with 2 additions and 1 deletions

View File

@@ -73,7 +73,7 @@ const messages = defineMessages({
},
'start.learning': {
id: 'start.learning',
defaultMessage: 'Start Learning',
defaultMessage: 'Start learning',
description: 'Header text for logistration MFE pages',
},
'with.site.name': {

View File

@@ -100,6 +100,7 @@ const ForgotPasswordPage = (props) => {
state={submitState}
labels={{
default: intl.formatMessage(messages['forgot.password.page.submit.button']),
pending: '',
}}
icons={{ pending: <FontAwesomeIcon icon={faSpinner} spin /> }}
onClick={handleSubmit}