forked from bh2smith/safe-airdrop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor state management and improve app (bh2smith#478)
- We query asset balances and collectible balances using RTK Query - The editors raw and parsed data will be stored in the csvEditorSlice - When the raw data of the editor gets changed a middleware triggers, which will parse the CSV file, generate the parsed transfer data and store it in the store. - All components can simply query the data from the store to display / interact with the CSV data Other fixes: - default to 1 for erc1155 transfers - ignores metadata interface and always tries to fetch metadata for NFTs - Uses collectible endpoint v2 instead of v1 - fixes github workflow's node version
- Loading branch information
Showing
38 changed files
with
1,697 additions
and
895 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
Oops, something went wrong.