Browse Source

Update setStackRoot utility function in playground app

Guy Carmeli 4 years ago
parent
commit
1627219462
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      playground/src/services/Navigation.js

+ 1
- 1
playground/src/services/Navigation.js View File

@@ -29,7 +29,7 @@ const popToRoot = (self) => Navigation.popToRoot(self.props.componentId);
29 29
 
30 30
 const mergeOptions = (selfOrCompId, options) => Navigation.mergeOptions(compId(selfOrCompId), options);
31 31
 
32
-const setStackRoot = (self, root) => Navigation.setStackRoot(self.props.componentId, root);
32
+const setStackRoot = (selfOrCompId, root) => Navigation.setStackRoot(compId(selfOrCompId), root);
33 33
 
34 34
 const setRoot = (root) => Navigation.setRoot(root.root ? root : { root: component(root, {}) });
35 35