From f822f19b04e991649311ea04ea859d12f97f28cc Mon Sep 17 00:00:00 2001 From: adrian Date: Tue, 18 Jul 2023 11:31:15 -0400 Subject: [PATCH 01/22] agroup --- src/pages/ocp/HomeOCP.tsx | 2 +- src/schemas/statitics.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/ocp/HomeOCP.tsx b/src/pages/ocp/HomeOCP.tsx index 7321bfe..ef083a6 100644 --- a/src/pages/ocp/HomeOCP.tsx +++ b/src/pages/ocp/HomeOCP.tsx @@ -255,7 +255,7 @@ export function HomeOCP() {
- +
diff --git a/src/schemas/statitics.ts b/src/schemas/statitics.ts index ecfb919..5bb29ba 100644 --- a/src/schemas/statitics.ts +++ b/src/schemas/statitics.ts @@ -23,6 +23,7 @@ export interface OptInStat { opt_in_percentage: number; sector_statistics: ChartData[]; rejected_reasons_count_by_reason: ChartData[]; + fis_choosen_by_msme: ChartData[]; } export interface StatisticsFI { @@ -31,7 +32,6 @@ export interface StatisticsFI { export interface StatisticsOCPoptIn { opt_in_stat: OptInStat; - fis_choosen_by_msme: ChartData[]; } export interface StatisticsParmsInput { From 746e40410d6a5fc4dd8c5f72b1d3fc4f2365d192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nahuel=20Hern=C3=A1ndez?= Date: Mon, 24 Jul 2023 09:00:42 -0400 Subject: [PATCH 02/22] feat: date range option selector --- src/components/LendersButtonGroup.tsx | 2 +- src/constants/index.ts | 22 ++++++++++++++++++ src/hooks/useGetStatisticsOCP.ts | 7 ++++-- src/pages/ocp/HomeOCP.tsx | 33 ++++++++++++++++++++++++--- src/schemas/statitics.ts | 1 + src/stories/form-input/FormInput.tsx | 2 +- 6 files changed, 60 insertions(+), 7 deletions(-) diff --git a/src/components/LendersButtonGroup.tsx b/src/components/LendersButtonGroup.tsx index edf0f06..0aba652 100644 --- a/src/components/LendersButtonGroup.tsx +++ b/src/components/LendersButtonGroup.tsx @@ -38,7 +38,7 @@ export function LendersButtonGroup({ onLenderSelected }: LendersButtonGroupProps return ( - +