add a todo comment
This commit is contained in:
parent
4bc3ac360b
commit
5c358764d1
File diff suppressed because it is too large
Load Diff
|
@ -14,6 +14,9 @@ import {
|
|||
LOAD_ADDRESS,
|
||||
} from './routes'
|
||||
|
||||
// TODO: Use react 16.6 features
|
||||
// https://blog.logrocket.com/lazy-loading-components-in-react-16-6-6cea535c0b52
|
||||
|
||||
const Safe = Loadable({
|
||||
loader: () => import('./safe/container'),
|
||||
loading: Loader,
|
||||
|
|
|
@ -23,18 +23,17 @@ export const getSafeEthToken = async (safeAddress: string) => {
|
|||
}
|
||||
|
||||
export const calculateActiveErc20TokensFrom = (tokens: List<Token>) => {
|
||||
const addresses = List().withMutations(list =>
|
||||
tokens.forEach((token: Token) => {
|
||||
if (isEther(token.get('symbol'))) {
|
||||
return
|
||||
}
|
||||
const addresses = List().withMutations(list => tokens.forEach((token: Token) => {
|
||||
if (isEther(token.get('symbol'))) {
|
||||
return
|
||||
}
|
||||
|
||||
if (!token.get('status')) {
|
||||
return
|
||||
}
|
||||
if (!token.get('status')) {
|
||||
return
|
||||
}
|
||||
|
||||
list.push(token.address)
|
||||
}))
|
||||
list.push(token.address)
|
||||
}))
|
||||
|
||||
return addresses
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue