MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / clearSelection

Function clearSelection

packages/app-core/src/components/Sidebar.tsx:1468–1471  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1466 ].filter(Boolean);
1467
1468 const clearSelection = (): void => {
1469 setSelectedSidebarKeys(new Set());
1470 setSelectionAnchorKey(null);
1471 };
1472 const refreshAndClear = async (): Promise<void> => {
1473 await refreshNotes();
1474 clearSelection();

Callers 2

refreshAndClearFunction · 0.85
SidebarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected