|
@@ -16,7 +16,12 @@ import {
|
|
|
import { toCurrency } from "../util";
|
|
import { toCurrency } from "../util";
|
|
|
import CloudCostChart from "./CloudCostChart";
|
|
import CloudCostChart from "./CloudCostChart";
|
|
|
|
|
|
|
|
-const CloudCost = ({ cumulativeData = [], totalData, graphData, currency }) => {
|
|
|
|
|
|
|
+const CloudCost = ({
|
|
|
|
|
+ cumulativeData = [],
|
|
|
|
|
+ totalData = {},
|
|
|
|
|
+ graphData = [],
|
|
|
|
|
+ currency = "USD",
|
|
|
|
|
+}) => {
|
|
|
const useStyles = makeStyles({
|
|
const useStyles = makeStyles({
|
|
|
noResults: {
|
|
noResults: {
|
|
|
padding: 24,
|
|
padding: 24,
|