Skip to content

Commit d3fb944

Browse files
nihgwugrabbou
authored andcommitted
make test pass (react-navigation#1253)
test fails since react-navigation#1231 `383:25 error 'options' is assigned a value but never used no-unused-vars`
1 parent aa7fe56 commit d3fb944

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/CardStack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ class CardStack extends Component {
380380
SceneComponent: ReactClass<*>,
381381
scene: NavigationScene,
382382
): React.Element<any> {
383-
const { navigation, options } = this._getScreenDetails(scene);
383+
const { navigation } = this._getScreenDetails(scene);
384384
const { screenProps } = this.props;
385385
const headerMode = this._getHeaderMode();
386386
if (headerMode === 'screen') {

0 commit comments

Comments
 (0)