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:
Neo
2017-04-26 23:15:25 +08:00
committed by Mike Grabowski
parent aa7fe56bb4
commit d3fb9447b7

View File

@@ -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') {