mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-07 09:19:11 +08:00
fix: fix typo preventing the screen from being cleaned up
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user