A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
mobile: fix key missing warning in search-result item
Ammar Ahmed63b8f7ef912b
diff --git a/apps/mobile/app/components/list-items/search-result/index.tsx b/apps/mobile/app/components/list-items/search-result/index.tsxindex 93657b636..ac9c24373 100644--- a/apps/mobile/app/components/list-items/search-result/index.tsx+++ b/apps/mobile/app/components/list-items/search-result/index.tsx@@ -105,8 +105,8 @@ export const SearchResult = (props: SearchResultProps) => {flexShrink: 1}}>- {props.item.title.map((title) => (- <>+ {props.item.title.map((title, index) => (+ <React.Fragment key={props.item.id + index + "-srt"}>{title.prefix}<Headingsize={AppFontSize.sm}@@ -118,7 +118,7 @@ export const SearchResult = (props: SearchResultProps) => {{title.match}</Heading>{title.suffix}- </>+ </React.Fragment>))}</Heading></View>@@ -158,8 +158,8 @@ export const SearchResult = (props: SearchResultProps) => {}}><Paragraph>- {content.map((match) => (- <>+ {content.map((match, index) => (+ <React.Fragment key={props.item.id + index + "src"}>{match.prefix}<Paragraphsize={AppFontSize.sm}@@ -171,7 +171,7 @@ export const SearchResult = (props: SearchResultProps) => {{match.match}</Paragraph>{match.suffix}- </>+ </React.Fragment>))}</Paragraph></Pressable>