Skip to content

Commit

Permalink
fixed some comments and pushing to fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcos Hernandez committed Nov 18, 2023
1 parent ea1a495 commit e19d4a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/(tabs)/search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function SearchScreen() {
(async () => {
setRecentSearches(await getRecentSearch());
})();
}, [recentSearches]); // fix this useEffect
}, [recentSearches]); // fix this useEffect to be when it switches page

return (
<SafeAreaView style={styles.container}>
Expand Down

0 comments on commit e19d4a2

Please sign in to comment.