Commit 2ba6ee54 authored by Timothy McCallum's avatar Timothy McCallum Committed by Chi Kei Chan

Removing duplicate line (#146)

Noticed duplicate code 

```
  if (tokenAddresses.addresses.filter(([ symbol ]) => symbol === label).length) {
    return;
  }
```
parent 4b4df7ed
...@@ -119,10 +119,6 @@ export const addExchange = ({label, exchangeAddress, tokenAddress}) => (dispatch ...@@ -119,10 +119,6 @@ export const addExchange = ({label, exchangeAddress, tokenAddress}) => (dispatch
return; return;
} }
if (tokenAddresses.addresses.filter(([ symbol ]) => symbol === label).length) {
return;
}
if (exchangeAddresses.fromToken[tokenAddresses]) { if (exchangeAddresses.fromToken[tokenAddresses]) {
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment