From 083bad44b2f3a4bd532f3085f1f3aa2730346a31 Mon Sep 17 00:00:00 2001 From: Gant Date: Sat, 16 Apr 2016 14:51:22 -0700 Subject: [PATCH] remove unused and misleading function Summary:Thanks for submitting a pull request! Please provide enough information so that others can review your pull request: (You can skip this if you're fixing a typo or adding an app to the Showcase.) Explain the **motivation** for making this change. What existing problem does the pull request solve? Prefer **small pull requests**. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it. :white_check_mark: **Test plan (required)** Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. Make sure tests pass on both Travis and Circle CI. **Code formatting** Look around. Match the style of the rest of the codebase. See also the simple [style guide](https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md#style-guide). Closes https://github.com/facebook/react-native/pull/6867 Differential Revision: D3186273 Pulled By: ericvicenti fb-gh-sync-id: 35e82fe4389a271a30c49dd5a3bcbab7ac29a0cd fbshipit-source-id: 35e82fe4389a271a30c49dd5a3bcbab7ac29a0cd --- .../NavigationExperimental/NavigationCardStackExample.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Examples/UIExplorer/NavigationExperimental/NavigationCardStackExample.js b/Examples/UIExplorer/NavigationExperimental/NavigationCardStackExample.js index bfb84589f..6a79dfd2e 100644 --- a/Examples/UIExplorer/NavigationExperimental/NavigationCardStackExample.js +++ b/Examples/UIExplorer/NavigationExperimental/NavigationCardStackExample.js @@ -143,11 +143,6 @@ class NavigationCardStackExample extends React.Component { }); } - _onNavigate(action) { - if (action && action.type === 'back') { - this._pop(); - } - } } const styles = StyleSheet.create({