From f4bed9a63b6b856ebedca9eb7662cd00038d7f7c Mon Sep 17 00:00:00 2001 From: TheCatLady <52870424+TheCatLady@users.noreply.github.com> Date: Tue, 30 Mar 2021 23:13:13 -0400 Subject: [PATCH] feat(ui): allow any value 1-100 for quota limit/days (#1337) --- src/components/QuotaSelector/index.tsx | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/src/components/QuotaSelector/index.tsx b/src/components/QuotaSelector/index.tsx index ba270056..3ccb2021 100644 --- a/src/components/QuotaSelector/index.tsx +++ b/src/components/QuotaSelector/index.tsx @@ -61,13 +61,11 @@ const QuotaSelector: React.FC = ({ - - - - - - - + {[...Array(100)].map((_item, i) => ( + + ))} ), quotaDays: ( @@ -77,12 +75,11 @@ const QuotaSelector: React.FC = ({ onChange={(e) => setQuotaDays(Number(e.target.value))} disabled={isDisabled} > - - - - - - + {[...Array(100)].map((_item, i) => ( + + ))} ), }