Skip to content

Commit 7733d9f

Browse files
committed
was literal 'position' a typo?
1 parent 1037904 commit 7733d9f

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)