Removed delete account button from profile page

no issue

- Cleanup: We currently don't have any functionality hooked to delete account button
This commit is contained in:
Rish 2020-05-28 17:24:19 +05:30
parent 503cb53f4f
commit f0d6320da9

View File

@ -46,10 +46,15 @@ export default class AccountProfilePage extends React.Component {
);
}
renderDeleteAccountButton() {
return (
<div style={{cursor: 'pointer', color: 'red'}} role='button'> Delete Account </div>
);
}
renderAccountFooter() {
return (
<div style={{display: 'flex', padding: '0 24px', marginTop: '12px', color: this.context.brandColor, fontWeight: 'bold', fontSize: '13px', alignItems: 'center'}}>
<div style={{cursor: 'pointer', color: 'red'}} role='button'> Delete Account </div>
<div style={{display: 'flex', flexGrow: 1, justifyContent: 'flex-end'}}>
{this.renderSaveButton()}
</div>