diff --git a/apps/desktop/src/ui/WidgetGrid.tsx b/apps/desktop/src/ui/WidgetGrid.tsx index 79e6dc996..c4e31e937 100644 --- a/apps/desktop/src/ui/WidgetGrid.tsx +++ b/apps/desktop/src/ui/WidgetGrid.tsx @@ -1,7 +1,7 @@ /** * The new-thread overview's grid and its edit mode: cards are dragged by their grip to a new * place (the others make room as the pointer passes over them), widened or narrowed, removed and - * added back from a tray. The arrangement lives in `state/widgetLayout.ts`. + * added back from a gallery of the removed cards. The arrangement lives in `state/widgetLayout.ts`. */ import { @@ -11,6 +11,7 @@ import { type PointerEvent, type ReactNode, useContext, + useEffect, useLayoutEffect, useRef, useState, @@ -367,7 +368,6 @@ export function WidgetGrid({ {render(slot.id)} ))} - {isEditing &&