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

Commit

Permalink
fix: link proper descriptor for StackView
Browse files Browse the repository at this point in the history
  • Loading branch information
osdnk committed Aug 24, 2019
1 parent d26b77f commit 469ec31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/stack/src/views/Stack/Stack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ export default class Stack extends React.Component<Props, State> {
{routes.map((route, index, self) => {
const focused = focusedRoute.key === route.key;
const current = progress[route.key];
const descriptor = descriptors[route.key];
const scene = scenes[index];
const descriptor = scene.descriptor;
const next = self[index + 1]
? progress[self[index + 1].key]
: ANIMATED_ONE;
Expand Down

0 comments on commit 469ec31

Please sign in to comment.