Change "Update password" to a secondary button
Per feedback.
This commit is contained in:
parent
9505182576
commit
6b82aae735
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ export default function SettingAccountPassword(props: Props) {
|
||||||
{!hasPassword && <p className="help">{__('You do not currently have a password set.')}</p>}
|
{!hasPassword && <p className="help">{__('You do not currently have a password set.')}</p>}
|
||||||
</div>
|
</div>
|
||||||
<Button
|
<Button
|
||||||
button="primary"
|
button="secondary"
|
||||||
label={hasPassword ? __('Update Your Password') : __('Add A Password')}
|
label={hasPassword ? __('Update Your Password') : __('Add A Password')}
|
||||||
onClick={() => setIsAddingPassword(true)}
|
onClick={() => setIsAddingPassword(true)}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Add table
Reference in a new issue