Skip to content

Commit 9ce055d

Browse files
committed
Merge branch '@stanleyoos/docs-fundamentals-replace-low-quality-images' of github.com:react-navigation/react-navigation.github.io into @stanleyoos/docs-fundamentals-replace-low-quality-images
2 parents 9c5bc58 + 18c2545 commit 9ce055d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

versioned_docs/version-6.x/navigation-lifecycle.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@ function Profile() {
9696
useFocusEffect(
9797
React.useCallback(() => {
9898
// Do something when the screen is focused
99-
Alert.alert("ProfileScreen focus effect");
100-
99+
Alert.alert('ProfileScreen focus effect');
100+
101101
return () => {
102102
// Do something when the screen is unfocused
103103
// Useful for cleanup functions
104-
Alert.alert("ProfileScreen focus effect cleanup");
104+
Alert.alert('ProfileScreen focus effect cleanup');
105105
};
106106
}, [])
107107
);

0 commit comments

Comments
 (0)