From 4ee2e6e6dbbb85b28ada4d109dc00fa1e5555887 Mon Sep 17 00:00:00 2001 From: Anxo Rodriguez Date: Mon, 22 Jun 2020 01:05:57 +0200 Subject: [PATCH 1/2] Fix error removing trailing zeros for price --- src/components/TradeWidget/Price.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TradeWidget/Price.tsx b/src/components/TradeWidget/Price.tsx index 1f264fded..db67ce8dc 100644 --- a/src/components/TradeWidget/Price.tsx +++ b/src/components/TradeWidget/Price.tsx @@ -213,7 +213,7 @@ const Price: React.FC = ({ sellToken, receiveToken, priceInputId, priceIn precision: DEFAULT_PRECISION, }) const { onKeyPress: onKeyPressPriceInverse, removeExcessZeros: removeExcessZerosPriceInverse } = useNumberInput({ - inputId: priceInputId, + inputId: priceInverseInputId, precision: DEFAULT_PRECISION, }) From a53497418b5e0d31b37ae4687dad144841343e16 Mon Sep 17 00:00:00 2001 From: Anxo Rodriguez Date: Mon, 22 Jun 2020 01:22:42 +0200 Subject: [PATCH 2/2] 1.0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e0189cd63..47e1f8b1c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gnosis.pm/dex-react", - "version": "1.0.0", + "version": "1.0.1", "description": "", "main": "src/index.js", "sideEffects": false,