diff --git a/Examples/UIExplorer/NavigationExperimental/NavigationBasicExample.js b/Examples/UIExplorer/NavigationExperimental/NavigationBasicExample.js index 4424f0913..d296ebbd7 100644 --- a/Examples/UIExplorer/NavigationExperimental/NavigationBasicExample.js +++ b/Examples/UIExplorer/NavigationExperimental/NavigationBasicExample.js @@ -59,7 +59,7 @@ const NavigationBasicExample = React.createClass({ return ( ); } - const title = UIExplorerStateTitleMap(stack.children[stack.index]); - const index = stack.children.length <= 1 ? 1 : stack.index; + const title = UIExplorerStateTitleMap(stack.routes[stack.index]); + const index = stack.routes.length <= 1 ? 1 : stack.index; - if (stack && stack.children[index]) { - const {key} = stack.children[index]; + if (stack && stack.routes[index]) { + const {key} = stack.routes[index]; const ExampleModule = UIExplorerList.Modules[key]; const ExampleComponent = UIExplorerExampleList.makeRenderable(ExampleModule); return ( @@ -171,7 +171,7 @@ class UIExplorerApp extends React.Component { );