-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pages/campaigns: Optimizations and improvements (#1731)
* [SQUASH] pages/campaigns: Performance improvement pages/campaigns/index.tsx: Run asynchronous tasks concurrently campaigns/CampaignFilter.tsx: Remove unnecessary array.filter call, when no filter is set - No need to loop through all campaigns, if no filter is set. /campaigns/CampaignsList.tsx: Use campaign id as key, rather than array index Index is not unique value, as length of array can vary. * campaigns/CampaignFilter: Drop ImageList for campaign filters ImageList is not the best thing for such things. Replaced it with self-made grid * [a11y] CampaignsPage: Set <h> appropriately
- Loading branch information
1 parent
64de9b4
commit 7897ac3
Showing
5 changed files
with
83 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters