From 0c2bc9ad4e08728c3adeda0c996f16e715c62f79 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 2 Nov 2020 11:24:08 +0100 Subject: [PATCH] lower min amount for adding (#186) --- src/components/organisms/AssetActions/Pool/Add/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/organisms/AssetActions/Pool/Add/index.tsx b/src/components/organisms/AssetActions/Pool/Add/index.tsx index 21a0688ef..54033f7e7 100644 --- a/src/components/organisms/AssetActions/Pool/Add/index.tsx +++ b/src/components/organisms/AssetActions/Pool/Add/index.tsx @@ -79,7 +79,7 @@ export default function Add({ // https://github.com/jquense/yup#number const validationSchema = Yup.object().shape({ amount: Yup.number() - .min(0.01, 'Must be more or equal to 0.01') + .min(0.0001, 'Must be more or equal to 0.0001') .max( Number(amountMax), `Maximum you can add is ${Number(amountMax).toFixed(2)} ${coin}`