mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
remove useIsFocused hook from all screens
This commit is contained in:
@@ -50,8 +50,9 @@ const SimpleList = ({
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
console.log(focused());
|
||||
let mainData =
|
||||
searchResults.type === type && focused && searchResults.results.length > 0
|
||||
searchResults.type === type && focused() && searchResults.results.length > 0
|
||||
? searchResults.results
|
||||
: listData;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user