We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e65aec4 commit 18c2545Copy full SHA for 18c2545
versioned_docs/version-6.x/navigation-lifecycle.md
@@ -96,12 +96,12 @@ function Profile() {
96
useFocusEffect(
97
React.useCallback(() => {
98
// Do something when the screen is focused
99
- Alert.alert("ProfileScreen focus effect");
100
-
+ Alert.alert('ProfileScreen focus effect');
+
101
return () => {
102
// Do something when the screen is unfocused
103
// Useful for cleanup functions
104
- Alert.alert("ProfileScreen focus effect cleanup");
+ Alert.alert('ProfileScreen focus effect cleanup');
105
};
106
}, [])
107
);
0 commit comments