fix redirect on profile page (#3892)

This commit is contained in:
Akshay 2022-08-29 16:08:37 +05:30 committed by GitHub
parent 4c885fb391
commit efa876e426
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -205,14 +205,13 @@ function SettingsPage(props) {
</div>
</div>
</div>
<a
href="#"
<button
className={'btn btn-primary' + (updateInProgress ? ' btn-loading' : '')}
onClick={updateDetails}
data-cy="update-button"
>
Update
</a>
</button>
{/* An !important style on theme.scss is making the last child of every .card-body color to #c3c3c3!. */}
{/* The div below is a placeholder to prevent it from affecting the button above. */}
<div></div>
@ -279,14 +278,13 @@ function SettingsPage(props) {
/>
</div>
</div>
<a
href="#"
<button
className={'btn btn-primary' + (passwordChangeInProgress ? ' btn-loading' : '')}
onClick={changePassword}
data-cy="change-password-button"
>
Change password
</a>
</button>
{/* An !important style on theme.scss is making the last child of every .card-body color to #c3c3c3!. */}
{/* The div below is a placeholder to prevent it from affecting the button above. */}
<div></div>