Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion NavigationScenesReducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function NavigationScenesReducer(
freshScenes.set(key, scene);
});

if (prevState) {
if (prevState && nextState.key === prevState.key) {
// Look at the previous children and classify any removed scenes as `stale`.
prevState.children.forEach((navigationState, index) => {
const key = SCENE_KEY_PREFIX + navigationState.key;
Expand Down