Skip to content

Commit

Permalink
chore: removed unused metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarnaikjuspay committed Oct 20, 2024
1 parent 9646f5d commit 2784f8a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
15 changes: 0 additions & 15 deletions src/screens/NewAnalytics/NewAnalyticsTypes.res
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,6 @@ type metrics = [
| #failure_reasons
| #payments_distribution
| #payment_success_rate
| // need to remove this
#payment_processed_amount
| #payment_count
| #time_bucket
| #connector
| #payment_method
| #payment_method_type
| #card_network
| #authentication_type
| #smart_retried_amount
| #payments_success_rate
| #refund_success_count
| #dispute_status_metric
| #payment_failed_rate
| #sessionized_payment_processed_count
]
type granularity = [
| #G_ONEDAY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ let make = (
data={chartEntity.getObjects(
~data=paymentsProcessedData,
~xKey=selectedMetric.value,
~yKey=(#time_bucket: metrics :> string),
~yKey=Time_Bucket->getStringFromVariant,
)}
className="mr-3"
/>
Expand Down

0 comments on commit 2784f8a

Please sign in to comment.