From 6a73d651c40963b9014f484dfcb8ef4fbc175c5c Mon Sep 17 00:00:00 2001 From: Sagar Naik Date: Mon, 2 Dec 2024 21:25:21 +0530 Subject: [PATCH] fix: new analytics api repeated fix --- .../PaymentsOverviewSection/NewPaymentsOverviewSection.res | 2 +- .../PaymentAnalytics/PaymentsProcessed/PaymentsProcessed.res | 2 +- .../PaymentsSuccessRate/PaymentsSuccessRate.res | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/screens/NewAnalytics/PaymentAnalytics/PaymentsOverviewSection/NewPaymentsOverviewSection.res b/src/screens/NewAnalytics/PaymentAnalytics/PaymentsOverviewSection/NewPaymentsOverviewSection.res index f7068e392..e39c4fc13 100644 --- a/src/screens/NewAnalytics/PaymentAnalytics/PaymentsOverviewSection/NewPaymentsOverviewSection.res +++ b/src/screens/NewAnalytics/PaymentAnalytics/PaymentsOverviewSection/NewPaymentsOverviewSection.res @@ -172,7 +172,7 @@ let make = (~entity: moduleEntity) => { getData()->ignore } None - }, (startTimeVal, endTimeVal, compareToStartTime, compareToEndTime, comparison)) + }, (compareToStartTime, compareToEndTime, comparison)) let mockDelay = async () => { if data != []->JSON.Encode.array { diff --git a/src/screens/NewAnalytics/PaymentAnalytics/PaymentsProcessed/PaymentsProcessed.res b/src/screens/NewAnalytics/PaymentAnalytics/PaymentsProcessed/PaymentsProcessed.res index e47955b18..78be49285 100644 --- a/src/screens/NewAnalytics/PaymentAnalytics/PaymentsProcessed/PaymentsProcessed.res +++ b/src/screens/NewAnalytics/PaymentAnalytics/PaymentsProcessed/PaymentsProcessed.res @@ -278,7 +278,7 @@ let make = ( getPaymentsProcessed()->ignore } None - }, (startTimeVal, endTimeVal, compareToStartTime, compareToEndTime, comparison)) + }, (compareToStartTime, compareToEndTime, comparison)) let mockDelay = async () => { if paymentsProcessedData != []->JSON.Encode.array { diff --git a/src/screens/NewAnalytics/PaymentAnalytics/PaymentsSuccessRate/PaymentsSuccessRate.res b/src/screens/NewAnalytics/PaymentAnalytics/PaymentsSuccessRate/PaymentsSuccessRate.res index af9bbed31..01b8f64ef 100644 --- a/src/screens/NewAnalytics/PaymentAnalytics/PaymentsSuccessRate/PaymentsSuccessRate.res +++ b/src/screens/NewAnalytics/PaymentAnalytics/PaymentsSuccessRate/PaymentsSuccessRate.res @@ -181,7 +181,7 @@ let make = ( getPaymentsSuccessRate()->ignore } None - }, (startTimeVal, endTimeVal, compareToStartTime, compareToEndTime, comparison)) + }, (compareToStartTime, compareToEndTime, comparison)) let mockDelay = async () => { if paymentsSuccessRateData != []->JSON.Encode.array {