diff --git a/react/utils/metrics/createQuote.ts b/react/utils/metrics/createQuote.ts index 2635793..3f7bcb3 100644 --- a/react/utils/metrics/createQuote.ts +++ b/react/utils/metrics/createQuote.ts @@ -62,11 +62,7 @@ const fetchMetricsData = async ( throw new Error('Graphql Errors when trying get quote and user data') } - const quoteResult = data?.getQuote as QuoteMetricsData - - return { - ...quoteResult, - } + return data?.getQuote as QuoteMetricsData } const buildCreateQuoteMetric = async (