diff --git a/components/TradePageGrid.tsx b/components/TradePageGrid.tsx index 045c4fa..c9ff3f5 100644 --- a/components/TradePageGrid.tsx +++ b/components/TradePageGrid.tsx @@ -45,7 +45,7 @@ const TradePageGrid = () => { defaultLayouts ) - const onLayoutChange = (layout, layouts) => { + const onLayoutChange = (layouts) => { if (layouts) { setSavedLayouts(layouts) } @@ -60,7 +60,7 @@ const TradePageGrid = () => { rowHeight={15} isDraggable={!uiLocked} isResizable={!uiLocked} - onLayoutChange={(layouts) => onLayoutChange(layouts)} + onLayoutChange={(layout, layouts) => onLayoutChange(layouts)} >