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
fix warning
ammarahm-ed76ec15b40e69
diff --git a/apps/mobile/src/components/Menu/ColorSection.js b/apps/mobile/src/components/Menu/ColorSection.jsindex 14eaff165..95ceb69bd 100644--- a/apps/mobile/src/components/Menu/ColorSection.js+++ b/apps/mobile/src/components/Menu/ColorSection.js@@ -28,13 +28,13 @@ export const ColorSection = ({noTextMode}) => {width: '100%',}}>{colorNotes.map((item, index) => (- <ColorItem item={item} index={index} />+ <ColorItem key={item.id} item={item} index={index} />))}</View>);};-const ColorItem = ({item, index}) => {+const ColorItem = ({item, index,}) => {const [state, dispatch] = useTracked();const {colors} = state;const [headerTextState, setHeaderTextState] = useState(null);@@ -72,7 +72,6 @@ const ColorItem = ({item, index}) => {return (<PressableButton- key={item.id}customColor={headerTextState?.id === item.id && item.type === headerTextState?.type? COLORS_NOTE[item.title]