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,
|
LOAD_ADDRESS,
|
||||||
} from './routes'
|
} from './routes'
|
||||||
|
|
||||||
|
// TODO: Use react 16.6 features
|
||||||
|
// https://blog.logrocket.com/lazy-loading-components-in-react-16-6-6cea535c0b52
|
||||||
|
|
||||||
const Safe = Loadable({
|
const Safe = Loadable({
|
||||||
loader: () => import('./safe/container'),
|
loader: () => import('./safe/container'),
|
||||||
loading: Loader,
|
loading: Loader,
|
||||||
|
|
|
@ -23,8 +23,7 @@ export const getSafeEthToken = async (safeAddress: string) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
export const calculateActiveErc20TokensFrom = (tokens: List<Token>) => {
|
export const calculateActiveErc20TokensFrom = (tokens: List<Token>) => {
|
||||||
const addresses = List().withMutations(list =>
|
const addresses = List().withMutations(list => tokens.forEach((token: Token) => {
|
||||||
tokens.forEach((token: Token) => {
|
|
||||||
if (isEther(token.get('symbol'))) {
|
if (isEther(token.get('symbol'))) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue