diff options
refactor unused code
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r-- | ui/app/actions.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index 5cc7dc2fa..d1168c168 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -1639,16 +1639,16 @@ function removeSuggestedTokens () { } } -function clearPendingTokens () { +function updateTokens (newTokens) { return { - type: actions.CLEAR_PENDING_TOKENS, + type: actions.UPDATE_TOKENS, + newTokens, } } -function updateTokens (newTokens) { +function clearPendingTokens () { return { - type: actions.UPDATE_TOKENS, - newTokens, + type: actions.CLEAR_PENDING_TOKENS, } } |