Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: getKey -> key

Abdullah Atta15ea57b692f9
diff --git a/apps/web/src/components/list-container/index.tsx b/apps/web/src/components/list-container/index.tsx
index 2d949bb88..4985e43d4 100644
--- a/apps/web/src/components/list-container/index.tsx
+++ b/apps/web/src/components/list-container/index.tsx
@@ -147,7 +147,7 @@ function ListContainer(props: ListContainerProps) {
>
<Virtuoso
ref={listRef}
- computeItemKey={(index) => items.getKey(index)}
+ computeItemKey={(index) => items.key(index)}
defaultItemHeight={DEFAULT_ITEM_HEIGHT}
totalCount={items.ids.length}
onBlur={() => setFocusedGroupIndex(-1)}