Skip to content

Commit

Permalink
fix: remove invalid param
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispader committed Nov 30, 2023
1 parent b93e6d9 commit 23e360e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TabSelector/TabSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 23e360e

Please sign in to comment.