Remove unused codes

This commit is contained in:
Furkan Kılıç 2020-12-27 21:45:30 +03:00
parent ada2b5cdb9
commit a21fec36c4
2 changed files with 0 additions and 16 deletions

View File

@ -41,12 +41,6 @@ class SideMenuContainer extends Component {
isCurrentAccount: element.username === currentAccount.name,
});
});
// accounts.push({
// name: 'Add Account',
// route: ROUTES.SCREENS.LOGIN,
// icon: 'user-follow',
// id: 'add_account',
// });
this.setState({ accounts });
};

View File

@ -62,16 +62,6 @@ const SideMenuView = ({
}, []);
// Component Functions
const _handleOnPressAddAccountIcon = () => {
// if (!isAddAccountIconActive) {
// setMenuItems(accounts);
// } else {
// setMenuItems(isLoggedIn ? MENU.AUTH_MENU_ITEMS : MENU.NO_AUTH_MENU_ITEMS);
// }
// setIsAddAccountIconActive(!isAddAccountIconActive);
};
const _handleOnMenuItemPress = (item) => {
if (item.id === 'logout') {
ActionSheetRef.current.show();