diff --git a/frontend/src/component/impact-metrics/GridLayoutWrapper.tsx b/frontend/src/component/impact-metrics/GridLayoutWrapper.tsx index c1f70bb83d..4f25296a63 100644 --- a/frontend/src/component/impact-metrics/GridLayoutWrapper.tsx +++ b/frontend/src/component/impact-metrics/GridLayoutWrapper.tsx @@ -134,8 +134,6 @@ export const GridLayoutWrapper: FC = ({ Number.parseInt(theme.spacing(2)), ]} containerPadding={[0, 0]} - // isDraggable={!isMobileBreakpoint} - // isResizable={!isMobileBreakpoint} isDraggable={false} isResizable={false} onLayoutChange={handleLayoutChange} diff --git a/frontend/src/component/impact-metrics/ImpactMetrics.tsx b/frontend/src/component/impact-metrics/ImpactMetrics.tsx index 3b91a31c69..f3aa11dd2f 100644 --- a/frontend/src/component/impact-metrics/ImpactMetrics.tsx +++ b/frontend/src/component/impact-metrics/ImpactMetrics.tsx @@ -90,17 +90,6 @@ export const ImpactMetrics: FC = () => { } }; - // const handleLayoutChange = useCallback( - // async (layout: any[]) => { - // try { - // await updateLayout(layout as LayoutItem[]); - // } catch (error) { - // setToastApiError(formatUnknownError(error)); - // } - // }, - // [updateLayout, setToastApiError], - // ); - const handleDeleteChart = useCallback( async (id: string) => { try { @@ -125,12 +114,6 @@ export const ImpactMetrics: FC = () => { config={config} onEdit={handleEditChart} onDelete={handleDeleteChart} - dragHandle={ - null - // - // - // - } /> ), w: existingLayout?.w ?? 6, @@ -194,10 +177,7 @@ export const ImpactMetrics: FC = () => { ) : charts.length > 0 ? ( - + ) : null}