diff --git a/dashboard/components/dashboard/components/cost-explorer/DashboardCostExplorerCard.tsx b/dashboard/components/dashboard/components/cost-explorer/DashboardCostExplorerCard.tsx index e3f0f33b9..c536d4801 100644 --- a/dashboard/components/dashboard/components/cost-explorer/DashboardCostExplorerCard.tsx +++ b/dashboard/components/dashboard/components/cost-explorer/DashboardCostExplorerCard.tsx @@ -70,8 +70,8 @@ function DashboardCostExplorerCard({ }); return ( -
Cost explorer
diff --git a/dashboard/components/dashboard/components/cost-explorer/hooks/useCostExplorer.tsx b/dashboard/components/dashboard/components/cost-explorer/hooks/useCostExplorer.tsx index 916cdd53f..43deb402c 100644 --- a/dashboard/components/dashboard/components/cost-explorer/hooks/useCostExplorer.tsx +++ b/dashboard/components/dashboard/components/cost-explorer/hooks/useCostExplorer.tsx @@ -71,7 +71,7 @@ function useCostExplorer() { [startDate, endDate] = lastTwelveMonths; } - const granularity = newGranularity.toUpperCase(); + const granularity = queryGranularity.toUpperCase(); const payload = { group: queryGroup, granularity,