Skip to content

Commit 45573f8

Browse files
committed
Merge branch '@stanleyoos/docs-small-improvements-from-open-prs' of github.com:react-navigation/react-navigation.github.io into @stanleyoos/docs-small-improvements-from-open-prs
2 parents 60a12a5 + 63243e1 commit 45573f8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

versioned_docs/version-7.x/stack-actions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,14 @@ function ProfileScreen({ navigation, route }) {
142142
<Text>Profile!</Text>
143143
<Text>{route.params.user}'s profile</Text>
144144
<Button onPress={() => navigation.dispatch(StackActions.pop(1))}>
145-
Pop one screen from stack
145+
Pop one screen from stack
146146
</Button>
147147
<Button
148148
onPress={() => {
149149
navigation.dispatch(StackActions.push('Profile', { user: 'Wojtek' }));
150150
}}
151151
>
152-
Push same screen on the stack
152+
Push same screen on the stack
153153
</Button>
154154
<Button onPress={() => navigation.dispatch(StackActions.popToTop())}>
155155
Pop to top
@@ -411,14 +411,14 @@ function ProfileScreen({ route }) {
411411
// codeblock-focus-end
412412
}}
413413
>
414-
Pop one screen from stack
414+
Pop one screen from stack
415415
</Button>
416416
<Button
417417
onPress={() => {
418418
navigation.dispatch(StackActions.push('Profile', { user: 'Wojtek' }));
419419
}}
420420
>
421-
Push same screen on the stack
421+
Push same screen on the stack
422422
</Button>
423423
<Button onPress={() => navigation.dispatch(StackActions.popToTop())}>
424424
Pop to top
@@ -593,7 +593,7 @@ function ProfileScreen({ route }) {
593593
<Text>Profile!</Text>
594594
<Text>{route.params.user}'s profile</Text>
595595
<Button onPress={() => navigation.dispatch(StackActions.pop(1))}>
596-
Pop one screen from stack
596+
Pop one screen from stack
597597
</Button>
598598
<Button
599599
onPress={() => {

0 commit comments

Comments
 (0)