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
remove Key prop from Button
ammarahm-ed0bedb01fe64e
diff --git a/apps/mobile/src/components/Button/index.js b/apps/mobile/src/components/Button/index.jsindex 2ee97dc4d..d942fdb42 100644--- a/apps/mobile/src/components/Button/index.js+++ b/apps/mobile/src/components/Button/index.js@@ -14,16 +14,14 @@ export const Button = ({title = '',icon,color = 'accent',- key}) => {const [state, dispatch] = useTracked();- const {colors, tags, premiumUser} = state;+ const {colors} = state;const usedColor = 'accent' ? colors.accent : color;return (<PressableButtononPress={onPress}- key={key}color={grayed ? colors.nav : usedColor}selectedColor={grayed ? colors.nav : usedColor}alpha={grayed ? (!colors.night ? -0.04 : 0.04) : -0.1}