Skip to content

Commit 900ba42

Browse files
committed
Merge pull request #667 from joenoon/jn-patch_position
was literal 'position' a typo?
2 parents 1037904 + 7733d9f commit 900ba42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/State.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function getInitialState(
4242
return {
4343
...scenes.rootProps,
4444
...route,
45-
key: `position_${route.sceneKey}`,
45+
key: `${position}_${route.sceneKey}`,
4646
...parentProps,
4747
...getStateFromScenes(route, scenes, props),
4848
};

0 commit comments

Comments
 (0)