From ee971a379c11ad39f2c4f34e00091284c23fe222 Mon Sep 17 00:00:00 2001 From: fukaoi Date: Tue, 1 Oct 2024 16:18:17 +0900 Subject: [PATCH 1/3] updated --- app/components/number-input/DecimalsInput.tsx | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/app/components/number-input/DecimalsInput.tsx b/app/components/number-input/DecimalsInput.tsx index 75f26ce..bc71f99 100644 --- a/app/components/number-input/DecimalsInput.tsx +++ b/app/components/number-input/DecimalsInput.tsx @@ -20,15 +20,16 @@ const NumberInput = React.forwardRef(function CustomNumberInput( const description = `The value of this setting specifies the number of decimal points in the token. Please refer to the example below.`; const example = ` - 0 decimals: 1000, 1 - 1 decimals: 1000.0, 0.1 - 2 decimals: 1000.00, 0.01 - 3 decimals: 1000.000, 0.001 - 4 decimals: 1000.0000, 0.0001 - 5 decimals: 1000.00000, 0.00001 - 7 decimals: 1000.000000, 0.000001 - 8 decimals: 1000.0000000, 0.0000001 - 9 decimals: 1000.00000000, 0.00000001 + 0 decimals: 1000, 1 + 1 decimals: 1000.0, 0.1 + 2 decimals: 1000.00, 0.01 + 3 decimals: 1000.000, 0.001 + 4 decimals: 1000.0000, 0.0001 + 5 decimals: 1000.00000, 0.00001 + 6 decimals: 1000.000000, 0.000001 + 7 decimals: 1000.0000000, 0.0000001 + 8 decimals: 1000.00000000, 0.00000001 + 9 decimals: 1000.000000009, 0.000000001 `; return ( <> From e89298786814483d5c99ee794acb8e717c2201f8 Mon Sep 17 00:00:00 2001 From: fukaoi Date: Tue, 1 Oct 2024 17:56:49 +0900 Subject: [PATCH 2/3] fix --- app/components/number-input/DecimalsInput.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/number-input/DecimalsInput.tsx b/app/components/number-input/DecimalsInput.tsx index bc71f99..002a1ca 100644 --- a/app/components/number-input/DecimalsInput.tsx +++ b/app/components/number-input/DecimalsInput.tsx @@ -25,11 +25,11 @@ const NumberInput = React.forwardRef(function CustomNumberInput( 2 decimals: 1000.00, 0.01 3 decimals: 1000.000, 0.001 4 decimals: 1000.0000, 0.0001 - 5 decimals: 1000.00000, 0.00001 + 5 decimals: j 1000.00000, 0.00001 6 decimals: 1000.000000, 0.000001 7 decimals: 1000.0000000, 0.0000001 8 decimals: 1000.00000000, 0.00000001 - 9 decimals: 1000.000000009, 0.000000001 + 9 decimals: 1000.000000000, 0.000000001 `; return ( <> From 22496bec8710ddf773c5b9c5581a92d69f802c86 Mon Sep 17 00:00:00 2001 From: fukaoi Date: Tue, 1 Oct 2024 17:57:09 +0900 Subject: [PATCH 3/3] fix --- app/components/number-input/DecimalsInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/number-input/DecimalsInput.tsx b/app/components/number-input/DecimalsInput.tsx index 002a1ca..35a09bb 100644 --- a/app/components/number-input/DecimalsInput.tsx +++ b/app/components/number-input/DecimalsInput.tsx @@ -25,7 +25,7 @@ const NumberInput = React.forwardRef(function CustomNumberInput( 2 decimals: 1000.00, 0.01 3 decimals: 1000.000, 0.001 4 decimals: 1000.0000, 0.0001 - 5 decimals: j 1000.00000, 0.00001 + 5 decimals: 1000.00000, 0.00001 6 decimals: 1000.000000, 0.000001 7 decimals: 1000.0000000, 0.0000001 8 decimals: 1000.00000000, 0.00000001