Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

refactor(dashboard): remove unneeded export from placeNewWidget (#5200)

[._.]/ Adam Eivy891dc4cc6130
diff --git a/client/src/components/dashboard/DashboardGrid.jsx b/client/src/components/dashboard/DashboardGrid.jsx
index 2e18e74e30..3d5949a2ef 100644
--- a/client/src/components/dashboard/DashboardGrid.jsx
+++ b/client/src/components/dashboard/DashboardGrid.jsx
@@ -296,7 +296,7 @@ function DragHandle({ kind, item, onPointerDown, onClick, handleProps }) {
// Auto-place a new widget at the end of the reading sequence, left-aligned.
// Used when LayoutEditor adds a widget to a layout without specifying a
// position. The pack decides where "the end" actually renders.
-export function placeNewWidget(items, widgetId) {
+function placeNewWidget(items, widgetId) {
const meta = WIDGETS_BY_ID[widgetId];
const w = WIDTH_TO_COLS[meta?.width] ?? 4;
const h = meta?.defaultH ?? GRID_DEFAULT_H;