fix: fix typo preventing the screen from being cleaned up

This commit is contained in:
satyajit.happy
2019-07-06 15:14:38 +02:00
parent 567df77207
commit a41714fa57

View File

@@ -55,7 +55,7 @@ export default class StackItem extends React.PureComponent<Props> {
this.props.onOpenRoute({ route: this.props.scene.route });
private handleClose = () =>
this.props.onOpenRoute({ route: this.props.scene.route });
this.props.onCloseRoute({ route: this.props.scene.route });
private handleTransitionStart = ({ closing }: { closing: boolean }) => {
const { index, scene, onTransitionStart, onGoBack } = this.props;