aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/containers/portal.tsx
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-20 04:26:34 +0800
committerGitHub <noreply@github.com>2017-12-20 04:26:34 +0800
commitc39ac903a972930d538f8fa3292c658201b1c5e5 (patch)
tree601833585d62dea776eff036520028c78917dbd2 /packages/website/ts/containers/portal.tsx
parent1316a2dd2a8971771f750d8a7f457212daad520b (diff)
parent8a940a800aa6f042f7932df6de83148c3cc3f268 (diff)
downloaddexon-0x-contracts-c39ac903a972930d538f8fa3292c658201b1c5e5.tar.gz
dexon-0x-contracts-c39ac903a972930d538f8fa3292c658201b1c5e5.tar.zst
dexon-0x-contracts-c39ac903a972930d538f8fa3292c658201b1c5e5.zip
Merge pull request #275 from 0xProject/refactor/website
Refactor Website
Diffstat (limited to 'packages/website/ts/containers/portal.tsx')
-rw-r--r--packages/website/ts/containers/portal.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/containers/portal.tsx b/packages/website/ts/containers/portal.tsx
index 7588a1535..ae983e0f5 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) ?
@@ -56,7 +56,7 @@ const mapStateToProps = (state: State, ownProps: PortalComponentAllProps): Conne
const hashData = {
depositAmount,
depositTokenContractAddr: depositAddress,
- feeRecipientAddress: constants.FEE_RECIPIENT_ADDRESS,
+ feeRecipientAddress: constants.NULL_ADDRESS,
makerFee: constants.MAKER_FEE,
orderExpiryTimestamp: state.orderExpiryTimestamp,
orderMakerAddress: state.userAddress,