Skip to content

Commit 538b777

Browse files
committed
Tweaked code sample in blog post based on feedback.
1 parent 43f5371 commit 538b777

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/_posts/2017-04-27-building-skype-on-reactxp.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ The primary subscriber to the NavigationStateStore is a component called RootNav
9898
``` javascript
9999
protected _buildState(/* params omitted */): RootNavigationViewState {
100100
return {
101-
isStackNav: NavigationStateStore. isUsingStackNav(),
101+
isStackNav: NavigationStateStore.isUsingStackNav(),
102102
compositeNavContext: NavigationStateStore.getCompositeNavContext()
103103
stackNavContext: NavigationStateStore.getStackNavContext()
104104
};
@@ -107,11 +107,11 @@ protected _buildState(/* params omitted */): RootNavigationViewState {
107107
render() {
108108
if (this.state.isStackNav) {
109109
return (
110-
<RootStackNavigationView context={ this.state.stackNavContext } />
110+
<RootStackNavigationView navContext={ this.state.stackNavContext } />
111111
);
112112
} else {
113113
return (
114-
<RootCompositeNavigationView context={ this.state.compositeNavContext } />
114+
<RootCompositeNavigationView navContext={ this.state.compositeNavContext } />
115115
);
116116
}
117117
}

0 commit comments

Comments
 (0)