Change "Update password" to a secondary button

Per feedback.
This commit is contained in:
infinite-persistence 2021-08-19 22:06:22 +08:00
parent 9505182576
commit 6b82aae735
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -79,7 +79,7 @@ export default function SettingAccountPassword(props: Props) {
{!hasPassword && <p className="help">{__('You do not currently have a password set.')}</p>}
</div>
<Button
button="primary"
button="secondary"
label={hasPassword ? __('Update Your Password') : __('Add A Password')}
onClick={() => setIsAddingPassword(true)}
/>