Skip to content

Commit

Permalink
fix: add back functionality for keeping email list updated when chang…
Browse files Browse the repository at this point in the history
…ing the state of an email

NOTE: this does not fix the functinality for real time updating of the list when the favorite status of an email is changed. This still needs to be fixed
  • Loading branch information
ajyey committed Jun 30, 2023
1 parent 8b2028e commit 100a5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/popup/components/home/emails/EmailList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function EmailList({

// Call the main function to apply the filter
applyFilter();
}, [filter]);
}, [filter, maskedEmails]);

// Use Fuse.js to perform the fuzzy search
const fuse: Fuse<MaskedEmail> = new Fuse(filteredEmails, {
Expand Down

0 comments on commit 100a5c7

Please sign in to comment.