mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-07 02:58:11 +00:00
hoist EMPTY_SET default in MemoriesGrid (#856)
This commit is contained in:
parent
f14cf5562e
commit
f850a0e8a7
1 changed files with 2 additions and 1 deletions
|
|
@ -129,6 +129,7 @@ function fetchOgData(url: string): Promise<OgData | null> {
|
|||
|
||||
const PAGE_SIZE = 100
|
||||
const MAX_TOTAL = 1000
|
||||
const EMPTY_SET = new Set<string>()
|
||||
|
||||
const MEMORIES_LOADING_LABELS = [
|
||||
"Getting your supermemories…",
|
||||
|
|
@ -231,7 +232,7 @@ export function MemoriesGrid({
|
|||
isChatOpen,
|
||||
onOpenDocument,
|
||||
isSelectionMode = false,
|
||||
selectedDocumentIds = new Set(),
|
||||
selectedDocumentIds = EMPTY_SET,
|
||||
onEnterSelectionMode,
|
||||
onToggleSelection,
|
||||
onClearSelection,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue