From 23e360e4b601381025ee1ef7b1a1cce3975136db Mon Sep 17 00:00:00 2001 From: Christoph Pader Date: Thu, 30 Nov 2023 14:24:27 +0100 Subject: [PATCH] fix: remove invalid param --- src/components/TabSelector/TabSelector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TabSelector/TabSelector.js b/src/components/TabSelector/TabSelector.js index cdec2a7e91e1..83601dbc27d8 100644 --- a/src/components/TabSelector/TabSelector.js +++ b/src/components/TabSelector/TabSelector.js @@ -102,7 +102,7 @@ function TabSelector({state, navigation, onTabPress, position}) { {_.map(state.routes, (route, index) => { const activeOpacity = getOpacity(position, state.routes.length, index, true, affectedAnimatedTabs); const inactiveOpacity = getOpacity(position, state.routes.length, index, false, affectedAnimatedTabs); - const backgroundColor = getBackgroundColor(position, state.routes.length, index, affectedAnimatedTabs); + const backgroundColor = getBackgroundColor(state.routes.length, index, affectedAnimatedTabs); const isFocused = index === state.index; const {icon, title} = getIconAndTitle(route.name, translate);