mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-12 03:54:13 +00:00
Cleanup tsc errors
This commit is contained in:
parent
f999272769
commit
44244e907a
@ -1,5 +1,3 @@
|
|||||||
import { AppState } from 'reducers';
|
|
||||||
|
|
||||||
export * from './meta';
|
export * from './meta';
|
||||||
export * from './networks';
|
export * from './networks';
|
||||||
export * from './nodes';
|
export * from './nodes';
|
||||||
|
@ -5,8 +5,6 @@ import { SHAPESHIFT_TOKEN_WHITELIST } from 'api/shapeshift';
|
|||||||
import { getStaticNetworkConfig } from 'selectors/config';
|
import { getStaticNetworkConfig } from 'selectors/config';
|
||||||
import { Token } from 'types/network';
|
import { Token } from 'types/network';
|
||||||
|
|
||||||
const getConfig = (state: AppState) => state.config;
|
|
||||||
|
|
||||||
export function getNetworkTokens(state: AppState): Token[] {
|
export function getNetworkTokens(state: AppState): Token[] {
|
||||||
const network = getStaticNetworkConfig(state);
|
const network = getStaticNetworkConfig(state);
|
||||||
return network ? network.tokens : [];
|
return network ? network.tokens : [];
|
||||||
|
@ -5,7 +5,6 @@ import difference from 'lodash/difference';
|
|||||||
import { StaticNetworkConfig, DPathFormats } from 'types/network';
|
import { StaticNetworkConfig, DPathFormats } from 'types/network';
|
||||||
import { AppState } from 'reducers';
|
import { AppState } from 'reducers';
|
||||||
import { getStaticNetworkConfigs, getStaticNetworkConfig } from 'selectors/config';
|
import { getStaticNetworkConfigs, getStaticNetworkConfig } from 'selectors/config';
|
||||||
const getConfig = (state: AppState) => state.config;
|
|
||||||
|
|
||||||
type PathType = keyof DPathFormats;
|
type PathType = keyof DPathFormats;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user