Skip to content

Commit

Permalink
Fix lint in createCustomStackNavigator/index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
WojtekBoman committed Oct 7, 2024
1 parent 32288b1 commit 784cf89
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ function ResponsiveStackNavigator(props: ResponsiveStackNavigatorProps) {
initialRouteName: props.initialRouteName,
});

// const stateToRender = useMemo(() => {
// const routes = state.routes.slice(-3);
// return {
// ...state,
// routes,
// index: routes.length - 1,
// };
// }, [state]);

return (
<NavigationContent>
<StackView
Expand Down

0 comments on commit 784cf89

Please sign in to comment.