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. ✅ **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
This commit is contained in:
parent
d5c1de7708
commit
083bad44b2
|
@ -143,11 +143,6 @@ class NavigationCardStackExample extends React.Component {
|
|||
});
|
||||
}
|
||||
|
||||
_onNavigate(action) {
|
||||
if (action && action.type === 'back') {
|
||||
this._pop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
|
|
Loading…
Reference in New Issue