Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Aug 7, 2024
1 parent e5e490b commit 63243e1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions versioned_docs/version-7.x/stack-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,14 @@ function ProfileScreen({ navigation, route }) {
<Text>Profile!</Text>
<Text>{route.params.user}'s profile</Text>
<Button onPress={() => navigation.dispatch(StackActions.pop(1))}>
Pop one screen from stack
Pop one screen from stack
</Button>
<Button
onPress={() => {
navigation.dispatch(StackActions.push('Profile', { user: 'Wojtek' }));
}}
>
Push same screen on the stack
Push same screen on the stack
</Button>
<Button onPress={() => navigation.dispatch(StackActions.popToTop())}>
Pop to top
Expand Down Expand Up @@ -411,14 +411,14 @@ function ProfileScreen({ route }) {
// codeblock-focus-end
}}
>
Pop one screen from stack
Pop one screen from stack
</Button>
<Button
onPress={() => {
navigation.dispatch(StackActions.push('Profile', { user: 'Wojtek' }));
}}
>
Push same screen on the stack
Push same screen on the stack
</Button>
<Button onPress={() => navigation.dispatch(StackActions.popToTop())}>
Pop to top
Expand Down Expand Up @@ -593,7 +593,7 @@ function ProfileScreen({ route }) {
<Text>Profile!</Text>
<Text>{route.params.user}'s profile</Text>
<Button onPress={() => navigation.dispatch(StackActions.pop(1))}>
Pop one screen from stack
Pop one screen from stack
</Button>
<Button
onPress={() => {
Expand Down

0 comments on commit 63243e1

Please sign in to comment.