mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-26 06:42:15 +03:00
removed unnecesary variable
This commit is contained in:
parent
f36c3619ae
commit
2c9e5f1621
@ -34,11 +34,9 @@ class HomeScreen extends PureComponent {
|
||||
'PAYOUT',
|
||||
];
|
||||
let tag;
|
||||
let initialPage;
|
||||
|
||||
if (isLoginDone && !isLoggedIn) {
|
||||
// tag = 'esteemapp';
|
||||
initialPage = 1;
|
||||
}
|
||||
|
||||
return (
|
||||
@ -48,7 +46,7 @@ class HomeScreen extends PureComponent {
|
||||
<View style={styles.container}>
|
||||
<ScrollableTabView
|
||||
style={styles.tabView}
|
||||
initialPage={isLoginDone && !isLoggedIn ? 1 : 0}
|
||||
initialPage={!isLoggedIn ? 1 : 0}
|
||||
renderTabBar={() => (
|
||||
<TabBar
|
||||
style={styles.tabbar}
|
||||
|
Loading…
Reference in New Issue
Block a user