Skip to content

Commit

Permalink
Update setStackRoot utility function in playground app
Browse files Browse the repository at this point in the history
  • Loading branch information
guyca committed Dec 22, 2019
1 parent 3899d4d commit 1627219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/src/services/Navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const popToRoot = (self) => Navigation.popToRoot(self.props.componentId);

const mergeOptions = (selfOrCompId, options) => Navigation.mergeOptions(compId(selfOrCompId), options);

const setStackRoot = (self, root) => Navigation.setStackRoot(self.props.componentId, root);
const setStackRoot = (selfOrCompId, root) => Navigation.setStackRoot(compId(selfOrCompId), root);

const setRoot = (root) => Navigation.setRoot(root.root ? root : { root: component(root, {}) });

Expand Down

0 comments on commit 1627219

Please sign in to comment.