Skip to content
This repository was archived by the owner on Dec 3, 2022. It is now read-only.

Commit d354567

Browse files
slorbersatya164
andauthored
Update README.md
Co-Authored-By: Satyajit Sahoo <[email protected]>
1 parent 5044bca commit d354567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ function MyScreen() {
118118
useFocusEffect(useCallback(() => {
119119
console.debug("screen takes focus");
120120
return () => console.debug("screen loses focus");
121-
}));
121+
}, []));
122122
return <View>...</View>;
123123
}
124124
```

0 commit comments

Comments
 (0)