File tree 1 file changed +8
-4
lines changed 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
import page from '@automattic/calypso-router' ;
2
2
import { FormInputValidation , FormLabel } from '@automattic/components' ;
3
- import { Spinner } from '@wordpress/components' ;
3
+ import { Button , Spinner } from '@wordpress/components' ;
4
4
import { useTranslate } from 'i18n-calypso' ;
5
5
import { useState } from 'react' ;
6
- import FormsButton from 'calypso/components/forms/form-button' ;
7
6
import FormTextInput from 'calypso/components/forms/form-text-input' ;
8
7
import { login } from 'calypso/lib/paths' ;
9
8
import { useDispatch } from 'calypso/state' ;
@@ -142,9 +141,14 @@ const LostPasswordForm = ( {
142
141
{ showError && < FormInputValidation isError text = { error } /> }
143
142
</ div >
144
143
< div className = "login__form-action" >
145
- < FormsButton primary type = "submit" disabled = { email . length === 0 || showError || isBusy } >
144
+ < Button
145
+ variant = "primary"
146
+ type = "submit"
147
+ disabled = { email . length === 0 || showError || isBusy }
148
+ __next40pxDefaultSize
149
+ >
146
150
{ isBusy ? < Spinner /> : translate ( 'Reset my password' ) }
147
- </ FormsButton >
151
+ </ Button >
148
152
</ div >
149
153
</ form >
150
154
) ;
You can’t perform that action at this time.
0 commit comments