Show one inbox item at a time instead of a scrolling list
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ export function mountInbox(root: HTMLElement): () => void {
|
||||
reconcile(list, [noTask]);
|
||||
return;
|
||||
}
|
||||
reconcile(list, items.length > 0 ? items.map(cardFor) : [nothing]);
|
||||
reconcile(list, items.length > 0 ? [cardFor(items[0]!)] : [nothing]);
|
||||
};
|
||||
|
||||
const off = onEach(["inbox", "selection"], render);
|
||||
|
||||
Reference in New Issue
Block a user