add a todo comment

This commit is contained in:
Mikhail Mikheev 2019-03-19 14:49:06 +04:00
parent 4bc3ac360b
commit 5c358764d1
3 changed files with 108 additions and 264 deletions

350
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -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,

View File

@ -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
} }