aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/containers
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-18 08:35:24 +0800
committerFabio Berger <me@fabioberger.com>2017-12-18 08:35:24 +0800
commit22c4ee6ef709610155191c4b0629ba0c41ce908f (patch)
treef460d684167dcfc0307934a60f0a5b51418feb3f /packages/website/ts/containers
parentfe8f2d87c79cb25a7879c2e737dbdd64b7c40f60 (diff)
downloaddexon-sol-tools-22c4ee6ef709610155191c4b0629ba0c41ce908f.tar
dexon-sol-tools-22c4ee6ef709610155191c4b0629ba0c41ce908f.tar.gz
dexon-sol-tools-22c4ee6ef709610155191c4b0629ba0c41ce908f.tar.bz2
dexon-sol-tools-22c4ee6ef709610155191c4b0629ba0c41ce908f.tar.lz
dexon-sol-tools-22c4ee6ef709610155191c4b0629ba0c41ce908f.tar.xz
dexon-sol-tools-22c4ee6ef709610155191c4b0629ba0c41ce908f.tar.zst
dexon-sol-tools-22c4ee6ef709610155191c4b0629ba0c41ce908f.zip
Update first two string enums to native type
Diffstat (limited to 'packages/website/ts/containers')
-rw-r--r--packages/website/ts/containers/portal.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/containers/portal.tsx b/packages/website/ts/containers/portal.tsx
index 7588a1535..fb330c06c 100644
--- a/packages/website/ts/containers/portal.tsx
+++ b/packages/website/ts/containers/portal.tsx
@@ -43,8 +43,8 @@ interface ConnectedDispatch {
}
const mapStateToProps = (state: State, ownProps: PortalComponentAllProps): ConnectedState => {
- const receiveAssetToken = state.sideToAssetToken[Side.receive];
- const depositAssetToken = state.sideToAssetToken[Side.deposit];
+ const receiveAssetToken = state.sideToAssetToken[Side.Receive];
+ const depositAssetToken = state.sideToAssetToken[Side.Deposit];
const receiveAddress = !_.isUndefined(receiveAssetToken.address) ?
receiveAssetToken.address : constants.NULL_ADDRESS;
const depositAddress = !_.isUndefined(depositAssetToken.address) ?