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

Commit

Permalink
fix: fix navigation object changing too often
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Aug 31, 2019
1 parent d4ad9d4 commit 3c840bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/SceneView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default function SceneView<
),
});
},
[getState, route, setState]
[getState, route.key, setState]
);

const context = React.useMemo(
Expand Down

0 comments on commit 3c840bb

Please sign in to comment.