mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 17:34:59 +08:00
make test pass (#1253)
test fails since #1231 `383:25 error 'options' is assigned a value but never used no-unused-vars`
This commit is contained in:
@@ -380,7 +380,7 @@ class CardStack extends Component {
|
||||
SceneComponent: ReactClass<*>,
|
||||
scene: NavigationScene,
|
||||
): React.Element<any> {
|
||||
const { navigation, options } = this._getScreenDetails(scene);
|
||||
const { navigation } = this._getScreenDetails(scene);
|
||||
const { screenProps } = this.props;
|
||||
const headerMode = this._getHeaderMode();
|
||||
if (headerMode === 'screen') {
|
||||
|
||||
Reference in New Issue
Block a user