diff --git a/src/components/Dashboard/DashboardGrid.jsx b/src/components/Dashboard/DashboardGrid.jsx index fe57c8b071..351a180a6a 100644 --- a/src/components/Dashboard/DashboardGrid.jsx +++ b/src/components/Dashboard/DashboardGrid.jsx @@ -219,7 +219,6 @@ const DashboardGrid = ({ layouts, onLayoutChange, onBreakpointChange, - className, onCardSizeChange, onResizeStop: onResizeStopCallback, ...others @@ -326,7 +325,7 @@ const DashboardGrid = ({ }; return ( -
+
- + ); ~~~ `, diff --git a/src/constants/LayoutConstants.js b/src/constants/LayoutConstants.js index 3ab35f02fe..75cc69094c 100644 --- a/src/constants/LayoutConstants.js +++ b/src/constants/LayoutConstants.js @@ -289,10 +289,10 @@ export const ALLOWED_CARD_SIZES_PER_TYPE = { }; export const DASHBOARD_EDITOR_CARD_TYPES = { - VALUE: 'VALUE', - TIMESERIES: 'TIMESERIES', - IMAGE: 'IMAGE', - TABLE: 'TABLE', + VALUE: CARD_TYPES.VALUE, + TIMESERIES: CARD_TYPES.TIMESERIES, + IMAGE: CARD_TYPES.IMAGE, + TABLE: CARD_TYPES.TABLE, SIMPLE_BAR: 'SIMPLE_BAR', GROUPED_BAR: 'GROUPED_BAR', STACKED_BAR: 'STACKED_BAR',