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 9, 2024
1 parent f6d6e65 commit 3967283
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 16 deletions.
4 changes: 3 additions & 1 deletion static/examples/5.x/drawer-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ function ProfileScreen({ route }) {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Profile!</Text>
<Text>{route?.params?.user ? route.params.user : 'No one'}'s profile</Text>
<Text>
{route?.params?.user ? route.params.user : 'No one'}'s profile
</Text>
</View>
);
}
Expand Down
4 changes: 3 additions & 1 deletion static/examples/5.x/tab-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ function ProfileScreen({ route }) {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Profile!</Text>
<Text>{route?.params?.user ? route.params.user : 'No one'}'s profile</Text>
<Text>
{route?.params?.user ? route.params.user : 'No one'}'s profile
</Text>
</View>
);
}
Expand Down
4 changes: 3 additions & 1 deletion static/examples/6.x/drawer-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ function ProfileScreen({ route }) {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Profile!</Text>
<Text>{route?.params?.user ? route.params.user : 'No one'}'s profile</Text>
<Text>
{route?.params?.user ? route.params.user : 'No one'}'s profile
</Text>
</View>
);
}
Expand Down
4 changes: 3 additions & 1 deletion static/examples/6.x/tab-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ function ProfileScreen({ route }) {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Profile!</Text>
<Text>{route?.params?.user ? route.params.user : 'No one'}'s profile</Text>
<Text>
{route?.params?.user ? route.params.user : 'No one'}'s profile
</Text>
</View>
);
}
Expand Down
4 changes: 3 additions & 1 deletion static/examples/7.x/drawer-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ function ProfileScreen({ route }) {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Profile!</Text>
<Text>{route?.params?.user ? route.params.user : 'No one'}'s profile</Text>
<Text>
{route?.params?.user ? route.params.user : 'No one'}'s profile
</Text>
</View>
);
}
Expand Down
4 changes: 3 additions & 1 deletion static/examples/7.x/tab-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ function ProfileScreen({ route }) {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Profile!</Text>
<Text>{route?.params?.user ? route.params.user : 'No one'}'s profile</Text>
<Text>
{route?.params?.user ? route.params.user : 'No one'}'s profile
</Text>
</View>
);
}
Expand Down
32 changes: 24 additions & 8 deletions versioned_docs/version-7.x/drawer-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ function ProfileScreen({ route }) {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Profile!</Text>
<Text>{route?.params?.user ? route.params.user : 'No one'}'s profile</Text>
<Text>
{route?.params?.user ? route.params.user : 'No one'}'s profile
</Text>
</View>
);
}
Expand Down Expand Up @@ -149,7 +151,9 @@ function ProfileScreen({ route }) {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Profile!</Text>
<Text>{route?.params?.user ? route.params.user : 'No one'}'s profile</Text>
<Text>
{route?.params?.user ? route.params.user : 'No one'}'s profile
</Text>
</View>
);
}
Expand Down Expand Up @@ -236,7 +240,9 @@ function ProfileScreen({ route }) {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Profile!</Text>
<Text>{route?.params?.user ? route.params.user : 'No one'}'s profile</Text>
<Text>
{route?.params?.user ? route.params.user : 'No one'}'s profile
</Text>
</View>
);
}
Expand Down Expand Up @@ -319,7 +325,9 @@ function ProfileScreen({ route }) {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Profile!</Text>
<Text>{route?.params?.user ? route.params.user : 'No one'}'s profile</Text>
<Text>
{route?.params?.user ? route.params.user : 'No one'}'s profile
</Text>
</View>
);
}
Expand Down Expand Up @@ -416,7 +424,9 @@ function ProfileScreen({ route }) {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Profile!</Text>
<Text>{route?.params?.user ? route.params.user : 'No one'}'s profile</Text>
<Text>
{route?.params?.user ? route.params.user : 'No one'}'s profile
</Text>
</View>
);
}
Expand Down Expand Up @@ -500,7 +510,9 @@ function ProfileScreen({ route }) {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Profile!</Text>
<Text>{route?.params?.user ? route.params.user : 'No one'}'s profile</Text>
<Text>
{route?.params?.user ? route.params.user : 'No one'}'s profile
</Text>
</View>
);
}
Expand Down Expand Up @@ -596,7 +608,9 @@ function ProfileScreen({ route }) {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Profile!</Text>
<Text>{route?.params?.user ? route.params.user : 'No one'}'s profile</Text>
<Text>
{route?.params?.user ? route.params.user : 'No one'}'s profile
</Text>
</View>
);
}
Expand Down Expand Up @@ -680,7 +694,9 @@ function ProfileScreen({ route }) {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Profile!</Text>
<Text>{route?.params?.user ? route.params.user : 'No one'}'s profile</Text>
<Text>
{route?.params?.user ? route.params.user : 'No one'}'s profile
</Text>
</View>
);
}
Expand Down
8 changes: 6 additions & 2 deletions versioned_docs/version-7.x/tab-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ function ProfileScreen({ route }) {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Profile!</Text>
<Text>{route?.params?.user ? route.params.user : 'No one'}'s profile</Text>
<Text>
{route?.params?.user ? route.params.user : 'No one'}'s profile
</Text>
</View>
);
}
Expand Down Expand Up @@ -117,7 +119,9 @@ function ProfileScreen({ route }) {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Profile!</Text>
<Text>{route?.params?.user ? route.params.user : 'No one'}'s profile</Text>
<Text>
{route?.params?.user ? route.params.user : 'No one'}'s profile
</Text>
</View>
);
}
Expand Down

0 comments on commit 3967283

Please sign in to comment.