From 1bb92f342aec92f9df6f86b7e9c5509b2540b7b2 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Sat, 17 Sep 2022 09:29:05 -0700 Subject: [PATCH] Fix range text, fix type override at currency change --- frontend/src/components/MakerPage.js | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/frontend/src/components/MakerPage.js b/frontend/src/components/MakerPage.js index 5b4b559c..4c68d317 100644 --- a/frontend/src/components/MakerPage.js +++ b/frontend/src/components/MakerPage.js @@ -144,7 +144,6 @@ class MakerPage extends Component { currencyCode, }); this.props.setAppState({ - type: e.target.value, currency: e.target.value, bookCurrencyCode: currencyCode, }); @@ -652,15 +651,8 @@ class MakerPage extends Component { rangeText = () => { const { t } = this.props; return ( -
- {t('From')} +
+ {t('From')} - {t('to')} + {t('to')} - {this.state.currencyCode} + + {this.state.currencyCode} +
); };