Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
devTarak authored Aug 28, 2023
1 parent aadccf8 commit 3cb260f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,6 @@ function filterContacts() {
);
});

filteredContacts.sort((a, b) => a.name.localeCompare(b.name));

totalLoadedContacts = 0;
contactList.innerHTML = ''; // Clear existing list
displayContactsChunk(totalLoadedContacts, totalLoadedContacts + contactsPerPage);
Expand Down

0 comments on commit 3cb260f

Please sign in to comment.