Skip to content
This repository was archived by the owner on Feb 25, 2020. It is now read-only.

Commit f173a16

Browse files
committed
fix: fix typo preventing the screen from being cleaned up
1 parent a6335bd commit f173a16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/Stack/StackItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default class StackItem extends React.PureComponent<Props> {
5555
this.props.onOpenRoute({ route: this.props.scene.route });
5656

5757
private handleClose = () =>
58-
this.props.onOpenRoute({ route: this.props.scene.route });
58+
this.props.onCloseRoute({ route: this.props.scene.route });
5959

6060
private handleTransitionStart = ({ closing }: { closing: boolean }) => {
6161
const { index, scene, onTransitionStart, onGoBack } = this.props;

0 commit comments

Comments
 (0)