Skip to content

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

mobile: fix duplicate key warning

ammarahm-ed732a0ffea400
diff --git a/apps/mobile/app/components/list-items/note/index.js b/apps/mobile/app/components/list-items/note/index.js
index 5b01933b9..36d3a375f 100644
--- a/apps/mobile/app/components/list-items/note/index.js
+++ b/apps/mobile/app/components/list-items/note/index.js
@@ -118,7 +118,7 @@ const NoteItem = ({
{notebooks?.map((item) => (
<Button
title={item.title}
- key={item}
+ key={item.id}
height={25}
icon={item.type === "topic" ? "bookmark" : "book-outline"}
type="grayBg"