Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.

Commit

Permalink
Reset search page numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
N0-0NE-Dev committed Feb 12, 2023
1 parent 5b39820 commit 2bbae94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/screens/SearchScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ const SearchScreen = ({ navigation }) => {
};

useEffect(() => {
setStart(0);
setEnd(20);
if (allData && featuredContent) {
if (searchText !== "") {
var searched = allData.content.filter((item) => {
Expand Down

0 comments on commit 2bbae94

Please sign in to comment.