Remove empty switch statement in instant

This commit is contained in:
fragosti 2019-04-19 17:21:06 -05:00
parent 9e02888c74
commit d327fabf9c

View File

@ -87,13 +87,12 @@ export class ZeroExInstantContainer extends React.PureComponent<
);
}
private readonly _handleSymbolClick = (asset?: Asset): void => {
// TODO: If ERC721 link open sea or allow to choose another ERC721?
if (_.isUndefined(asset) || asset.metaData.assetProxyId === AssetProxyId.ERC20) {
analytics.trackTokenSelectorOpened();
this.setState({
tokenSelectionPanelAnimationState: 'slidIn',
});
} else if (asset.metaData.assetProxyId === AssetProxyId.ERC721) {
// TODO: Link open sea or allow to choose another ERC721?
}
};
private readonly _handlePanelCloseClickedX = (): void => {