Fixed account button action logging out

no issue

Account button was incorrectly mapped to logout action, adds a temp no-op action for account area
This commit is contained in:
Rish 2020-04-27 15:39:02 +05:30
parent 1a29d0926e
commit ead29b9e23

View File

@ -179,11 +179,15 @@ export default class AccountHomePage extends React.Component {
);
}
handleAccountDetail(e) {
// No-op
}
renderLogoutButton() {
return (
<div style={{paddingLeft: '21px', paddingRight: '16px', paddingTop: '12px', borderTop: '1px solid #EFEFEF', cursor: 'pointer'}}>
<div role="button" onClick={(e) => {
this.handleSignout(e);
this.handleAccountDetail(e);
}} style={{marginBottom: '3px'}}> Account </div>
<div role="button" onClick={(e) => {
this.handleSignout(e);