This repository was archived by the owner on Nov 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 357
(Feature) Remove spam tokens / Deactivate tokens refresh fix #1331
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
3801325
Fix load current session
Agupane 79c3d49
Fixs useMemo usage in filteredData
Agupane 82c5e4e
Type fetchTokens
Agupane 8027da7
Type useFetchTokens
Agupane d9e0bcd
Type setCurrencyBalances
Agupane 5bc0b8d
Fixs ADD_SAFE reducer for existing safe, uses mergeDeep instead of me…
Agupane 7548e4d
Fix save selected currency
Agupane 70be14f
Adds excludeSpamTokens param in fetchTokenCurrenciesBalances
Agupane 7cde7f0
Adds onlyTrustedTokens param in fetchTokenCurrenciesBalances
Agupane 9055021
Merge branch 'development' of https://github.com/gnosis/safe-react in…
Agupane c5f69ca
Merge with development
Agupane de6d3bd
Remove onlyTrustedTokens param
Agupane e74be01
Fix unnecesary changes
Agupane 4bfe6a9
Merge branch 'development' into 1312-fetch-assets
Agupane 55b7148
Replace Dispatch with ThunkDispatch
Agupane e29ad45
Merge branch 'development' of https://github.com/gnosis/safe-react in…
Agupane 4b0280b
Fix import consistency
Agupane a5021c3
Type containsMethodByHash
Agupane cd93e92
Fix blacklisted addresses calculation
Agupane cf27a1b
Adds types on updateActiveTokens
Agupane 06aa640
Refactor Tokens to TokenList, makes it functional component
Agupane b7dc899
Refactor Tokens to TokenList, makes it functional component
Agupane 3c23d77
Refactor AddCustomToken, add types
Agupane 6b9032a
Fix warning on useEffect
Agupane e0429fd
Merge remote-tracking branch 'origin/development' into 1312-fetch-assets
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
13 changes: 8 additions & 5 deletions
13
src/logic/currencyValues/store/actions/setCurrencyBalances.ts
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,12 @@ | ||
| import { createAction } from 'redux-actions' | ||
| import { BalanceCurrencyList } from 'src/logic/currencyValues/store/model/currencyValues' | ||
|
|
||
| export const SET_CURRENCY_BALANCES = 'SET_CURRENCY_BALANCES' | ||
|
|
||
| // eslint-disable-next-line max-len | ||
| export const setCurrencyBalances = createAction(SET_CURRENCY_BALANCES, (safeAddress, currencyBalances) => ({ | ||
| safeAddress, | ||
| currencyBalances, | ||
| })) | ||
| export const setCurrencyBalances = createAction( | ||
| SET_CURRENCY_BALANCES, | ||
| (safeAddress: string, currencyBalances: BalanceCurrencyList) => ({ | ||
| safeAddress, | ||
| currencyBalances, | ||
| }), | ||
| ) |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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
3 changes: 2 additions & 1 deletion
3
src/routes/safe/components/Balances/Tokens/screens/AddCustomToken/style.ts
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have already spoke about Dispatch and ThunkDispatch differences, haven't we?