Skip to content

Commit

Permalink
fix: make it work with RN Navigation 7 (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski authored Oct 25, 2024
1 parent c33164f commit d1fc9b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react-navigation/views/NativeBottomTabView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default function NativeBottomTabView({
type: 'tabPress',
target: route.key,
});
navigation.navigate({ key: route.key, merge: true });
navigation.navigate({ key: route.key, name: route.name, merge: true });
}}
/>
);
Expand Down

0 comments on commit d1fc9b2

Please sign in to comment.