From 3dff19e7b40583654fba8907e8b995565fe8b5fd Mon Sep 17 00:00:00 2001 From: Pavlo Aksonov Date: Fri, 18 Mar 2016 14:35:24 +0100 Subject: [PATCH] fix for #338 --- src/State.js | 1 - src/TabBar.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/State.js b/src/State.js index 96fd9abbd..99b1c991e 100644 --- a/src/State.js +++ b/src/State.js @@ -27,7 +27,6 @@ export function getInitialState(route:{string: any},scenes:{string:any}, positio res.index = 0; } res.sceneKey = res.key; - console.log("POSITION:", position); res.key = position+'_'+res.key; return res; } diff --git a/src/TabBar.js b/src/TabBar.js index f5f9da701..aea8d1b91 100644 --- a/src/TabBar.js +++ b/src/TabBar.js @@ -40,7 +40,7 @@ export default class extends Component { {!hideTabBar && {state.children.filter(el=>el.icon || this.props.tabIcon).map(el=>{ const Icon = el.icon || this.props.tabIcon; - return + return })} }